#7F3DCD#7F3DCD
#7F3DCD is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.210 H 300.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3DCD |
|---|---|
| RGB | rgb(127, 61, 205) |
| HSL | hsl(268, 59%, 52%) |
| HSV | hsv(268, 70%, 80%) |
| CMYK | cmyk(38%, 70.2%, 0%, 19.6%) |
| CIE-LAB | lab(41.62, 55.99, -63.69) |
| CIE-LCH | lch(41.62, 84.80, 311.32°) |
| OKLab | oklab(52.16% 0.1052 -0.1817) |
| OKLCH | oklch(52.16% 0.21 300.1) |
| XYZ | xyz(21.4379, 12.2571, 58.9822) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.52
Bluish Purple
#703BE7
ΔE00 4.28
Darkorchid
#9932CC
ΔE00 4.66
Bluey Purple
#6241C7
ΔE00 4.95
Burple
#6832E3
ΔE00 5.07
Darkviolet
#9400D3
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3DCD #8BCD3D
analogous
#3D43CD #7F3DCD #C73DCD
triadic
#7F3DCD #CD7F3D #3DCD7F
tetradic
#7F3DCD #CD3D43 #8BCD3D #3DCDC7
square
#7F3DCD #CD3D43 #8BCD3D #3DCDC7
split-complementary
#7F3DCD #CDC73D #43CD3D
monochromatic
#441D72 #612AA3 #7F3DCD #9F6EDA #BF9EE6
Accessibility & contrast
On white
6.08
#7F3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#7F3DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3DCD
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3DCD | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#6D6081
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7f3dcd; /* rgb */ color: rgb(127, 61, 205); /* oklch */ color: oklch(52.2% 0.210 300.1);
Tailwind
colors: {
custom: {
50: '#aa78dd',
500: '#7f3dcd',
950: '#000000',
},
}SCSS
$custom: #7f3dcd; $custom-light: #aa78dd; $custom-dark: #000000;
JSON
{
"hex": "#7f3dcd",
"rgb": {
"r": 127,
"g": 61,
"b": 205
},
"hsl": {
"h": 267.5,
"s": 59.016,
"l": 52.157
},
"oklch": {
"l": 0.52158,
"c": 0.20991,
"h": 300.1
},
"luminance": 0.12257
}Semantic roles & 50–950 ramp
primary
#7F3DCD
secondary
#B6D293
accent
#E2469A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83