#7F3FD2#7F3FD2
#7F3FD2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.213 H 298.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3FD2 |
|---|---|
| RGB | rgb(127, 63, 210) |
| HSL | hsl(266, 62%, 54%) |
| HSV | hsv(266, 70%, 82%) |
| CMYK | cmyk(39.5%, 70%, 0%, 17.6%) |
| CIE-LAB | lab(42.34, 56.28, -65.41) |
| CIE-LCH | lch(42.34, 86.29, 310.71°) |
| OKLab | oklab(52.79% 0.1023 -0.1867) |
| OKLCH | oklch(52.79% 0.213 298.7) |
| XYZ | xyz(22.1598, 12.7199, 62.2480) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.39
Bluish Purple
#703BE7
ΔE00 3.74
Burple
#6832E3
ΔE00 4.89
Darkorchid
#9932CC
ΔE00 4.94
Bluey Purple
#6241C7
ΔE00 5.00
Violet (survey)
#9A0EEA
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3FD2 #92D23F
analogous
#3F48D2 #7F3FD2 #C83FD2
triadic
#7F3FD2 #D27F3F #3FD27F
tetradic
#7F3FD2 #D23F48 #92D23F #3FD2C8
square
#7F3FD2 #D23F48 #92D23F #3FD2C8
split-complementary
#7F3FD2 #D2C83F #48D23F
monochromatic
#451D7A #6128AC #7F3FD2 #A071DE #C1A2E9
Accessibility & contrast
On white
5.93
#7F3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#7F3FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3FD2
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3FD2 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#6B6384
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7f3fd2; /* rgb */ color: rgb(127, 63, 210); /* oklch */ color: oklch(52.8% 0.213 298.7);
Tailwind
colors: {
custom: {
50: '#ab79e1',
500: '#7f3fd2',
950: '#000000',
},
}SCSS
$custom: #7f3fd2; $custom-light: #ab79e1; $custom-dark: #000000;
JSON
{
"hex": "#7f3fd2",
"rgb": {
"r": 127,
"g": 63,
"b": 210
},
"hsl": {
"h": 266.122,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.52786,
"c": 0.21293,
"h": 298.7
},
"luminance": 0.1272
}Semantic roles & 50–950 ramp
primary
#7F3FD2
secondary
#BAD697
accent
#E5439E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83