#7E3DCD#7E3DCD
#7E3DCD is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.210 H 299.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3DCD |
|---|---|
| RGB | rgb(126, 61, 205) |
| HSL | hsl(267, 59%, 52%) |
| HSV | hsv(267, 70%, 80%) |
| CMYK | cmyk(38.5%, 70.2%, 0%, 19.6%) |
| CIE-LAB | lab(41.50, 55.80, -63.89) |
| CIE-LCH | lch(41.50, 84.83, 311.13°) |
| OKLab | oklab(52.05% 0.1038 -0.1823) |
| OKLCH | oklch(52.05% 0.21 299.7) |
| XYZ | xyz(21.2896, 12.1807, 58.9752) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.57
Bluish Purple
#703BE7
ΔE00 4.18
Bluey Purple
#6241C7
ΔE00 4.78
Darkorchid
#9932CC
ΔE00 4.83
Burple
#6832E3
ΔE00 4.93
Darkviolet
#9400D3
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3DCD #8CCD3D
analogous
#3D44CD #7E3DCD #C63DCD
triadic
#7E3DCD #CD7E3D #3DCD7E
tetradic
#7E3DCD #CD3D44 #8CCD3D #3DCDC6
square
#7E3DCD #CD3D44 #8CCD3D #3DCDC6
split-complementary
#7E3DCD #CDC63D #44CD3D
monochromatic
#441D72 #612AA3 #7E3DCD #9E6EDA #BF9EE6
Accessibility & contrast
On white
6.11
#7E3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#7E3DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E3DCD
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3DCD | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#6C6081
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7e3dcd; /* rgb */ color: rgb(126, 61, 205); /* oklch */ color: oklch(52.0% 0.210 299.7);
Tailwind
colors: {
custom: {
50: '#aa78dd',
500: '#7e3dcd',
950: '#000000',
},
}SCSS
$custom: #7e3dcd; $custom-light: #aa78dd; $custom-dark: #000000;
JSON
{
"hex": "#7e3dcd",
"rgb": {
"r": 126,
"g": 61,
"b": 205
},
"hsl": {
"h": 267.083,
"s": 59.016,
"l": 52.157
},
"oklch": {
"l": 0.52046,
"c": 0.20976,
"h": 299.7
},
"luminance": 0.12181
}Semantic roles & 50–950 ramp
primary
#7E3DCD
secondary
#B6D293
accent
#E2469C
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83