# #7f42cc color: Bright violet

#7f42cc is rgb(127, 66, 204) in RGB and oklch(52.698% 0.20274 299.634) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/7f42cc

## Formats

| Format | Value |
| --- | --- |
| HEX | #7f42cc |
| RGB | rgb(127, 66, 204) |
| HSL | hsl(266.52, 57.5%, 52.94%) |
| HSB / HSV | hsv(266.52 67.65% 80%) |
| HWB | hwb(266.52 25.88% 20%) |
| CMYK | cmyk(38% 68% 0% 20%) |
| Lab | lab(41.67 47.35 -62.68) |
| LCH | lch(41.67 78.56 307.07) |
| OKLab | oklab(52.698% 0.10025 -0.17622) |
| OKLCH | oklch(52.698% 0.20274 299.634) |
| Display P3 | color(display-p3 0.46637 0.27106 0.77195) |
| Rec. 2020 | color(rec2020 0.40534 0.23635 0.74005) |
| Adobe RGB | color(a98-rgb 0.44352 0.26629 0.78134) |
| ProPhoto RGB | color(prophoto-rgb 0.42594 0.25501 0.70468) |
| Linear sRGB | color(srgb-linear 0.21223 0.05448 0.60383) |
| XYZ D65 | color(xyz-d65 0.21598 0.12768 0.58455) |
| XYZ D50 | color(xyz-d50 0.19992 0.12288 0.43944) |
| SwiftUI | Color(red: 0.498, green: 0.259, blue: 0.8) |
| UIKit | UIColor(red: 0.498, green: 0.259, blue: 0.8, alpha: 1) |
| Flutter / Compose | Color(0xFF7F42CC) |
| Android XML | #7F42CC |

## Facts

- Closest name: Bright violet
- Hue family: Violet, bright violet
- Closest Tailwind class: purple-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 5.91:1
- Contrast with black: 3.55:1

## Tints

#7f42cc, #8a58d3, #966cd9, #a27fdf, #af91e4, #bca4ea, #c9b6ef, #d6c8f3, #e3daf8, #f1edfb

## Shades

#7f42cc, #6e38b1, #5d2f97, #4c257e, #3c1c65, #2d144e, #1f0b37, #110522, #06010f, #010002

## Tones

#7f42cc, #7d49c3, #7a4fb9, #7854b0, #7659a6, #745c9d, #726093, #706389, #6e667f, #6c6875

## Harmonies

- Complementary: #7f42cc, #627500
- Split: #7f42cc, #886600, #008528
- Analogous: #7f42cc, #4059de, #a62ca1
- Triadic: #7f42cc, #a55000, #00806d
- Tetradic: #7f42cc, #be1667, #627500, #00806d
- Square: #7f42cc, #c51b10, #627500, #007b8e
- Monochromatic: #7f42cc, #3b0072, #5e13a4, #a369f5, #c498ff

## Questions about #7f42cc

### What color is #7f42cc?

#7f42cc is bright violet. The closest named color is Bright violet. In RGB it is rgb(127, 66, 204), in HSL hsl(266.52, 57.5%, 52.94%) and in OKLCH oklch(52.698% 0.20274 299.634).

### What colors go well with #7f42cc?

The complementary color of #7f42cc is #627500. For a calmer combination use the analogous colors #4059de and #a62ca1. The triadic partners are #a55000 and #00806d.

### Is white or black text more readable on #7f42cc?

White text reads better on #7f42cc: white gives a contrast ratio of 5.91:1 and black gives 3.55:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #7f42cc a warm or cool color?

#7f42cc is a cool color. In OKLCH its hue is 300 degrees, its lightness 52.7% and its chroma 0.203.
