#7C42CF#7C42CF
#7C42CF is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.6% C 0.206 H 297.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7C42CF |
|---|---|
| RGB | rgb(124, 66, 207) |
| HSL | hsl(265, 59%, 54%) |
| HSV | hsv(265, 68%, 81%) |
| CMYK | cmyk(40.1%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(42.29, 53.51, -63.78) |
| CIE-LCH | lch(42.29, 83.25, 310.00°) |
| OKLab | oklab(52.6% 0.0957 -0.1821) |
| OKLCH | oklch(52.6% 0.206 297.7) |
| XYZ | xyz(21.5200, 12.6862, 60.3343) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.87
Blueviolet
#8A2BE2
ΔE00 4.15
Bluey Purple
#6241C7
ΔE00 4.51
Burple
#6832E3
ΔE00 5.04
Darkorchid
#9932CC
ΔE00 5.48
Purpleish Blue
#6140EF
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C42CF #95CF42
analogous
#424ECF #7C42CF #C342CF
triadic
#7C42CF #CF7C42 #42CF7C
tetradic
#7C42CF #CF424E #95CF42 #42CFC3
square
#7C42CF #CF424E #95CF42 #42CFC3
split-complementary
#7C42CF #CFC342 #4ECF42
monochromatic
#431F78 #5F2BA9 #7C42CF #9E73DB #C0A4E8
Accessibility & contrast
On white
5.94
#7C42CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#7C42CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C42CF
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C42CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C42CF | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#686483
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7c42cf; /* rgb */ color: rgb(124, 66, 207); /* oklch */ color: oklch(52.6% 0.206 297.7);
Tailwind
colors: {
custom: {
50: '#a87adf',
500: '#7c42cf',
950: '#000000',
},
}SCSS
$custom: #7c42cf; $custom-light: #a87adf; $custom-dark: #000000;
JSON
{
"hex": "#7c42cf",
"rgb": {
"r": 124,
"g": 66,
"b": 207
},
"hsl": {
"h": 264.681,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.52601,
"c": 0.20567,
"h": 297.7
},
"luminance": 0.12687
}Semantic roles & 50–950 ramp
primary
#7C42CF
secondary
#BCD598
accent
#E345A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83