#7E3CCD#7E3CCD
#7E3CCD is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.211 H 299.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3CCD |
|---|---|
| RGB | rgb(126, 60, 205) |
| HSL | hsl(267, 59%, 52%) |
| HSV | hsv(267, 71%, 80%) |
| CMYK | cmyk(38.5%, 70.7%, 0%, 19.6%) |
| CIE-LAB | lab(41.33, 56.27, -64.16) |
| CIE-LCH | lch(41.33, 85.34, 311.25°) |
| OKLab | oklab(51.93% 0.1047 -0.1831) |
| OKLCH | oklch(51.93% 0.211 299.8) |
| XYZ | xyz(21.2367, 12.0749, 58.9576) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.48
Bluish Purple
#703BE7
ΔE00 4.18
Bluey Purple
#6241C7
ΔE00 4.79
Darkorchid
#9932CC
ΔE00 4.80
Burple
#6832E3
ΔE00 4.85
Darkviolet
#9400D3
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3CCD #8BCD3C
analogous
#3C43CD #7E3CCD #C63CCD
triadic
#7E3CCD #CD7E3C #3CCD7E
tetradic
#7E3CCD #CD3C43 #8BCD3C #3CCDC6
square
#7E3CCD #CD3C43 #8BCD3C #3CCDC6
split-complementary
#7E3CCD #CDC63C #43CD3C
monochromatic
#441D71 #602AA2 #7E3CCD #9E6DD9 #BE9DE6
Accessibility & contrast
On white
6.15
#7E3CCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#7E3CCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3CCD
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3CCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3CCD | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#6C6081
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7e3ccd; /* rgb */ color: rgb(126, 60, 205); /* oklch */ color: oklch(51.9% 0.211 299.8);
Tailwind
colors: {
custom: {
50: '#aa77dd',
500: '#7e3ccd',
950: '#000000',
},
}SCSS
$custom: #7e3ccd; $custom-light: #aa77dd; $custom-dark: #000000;
JSON
{
"hex": "#7e3ccd",
"rgb": {
"r": 126,
"g": 60,
"b": 205
},
"hsl": {
"h": 267.31,
"s": 59.184,
"l": 51.961
},
"oklch": {
"l": 0.51928,
"c": 0.21092,
"h": 299.8
},
"luminance": 0.12075
}Semantic roles & 50–950 ramp
primary
#7E3CCD
secondary
#B5D293
accent
#E2459B
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83