#7F66F9#7F66F9
#7F66F9 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.2% C 0.210 H 286.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7F66F9 |
|---|---|
| RGB | rgb(127, 102, 249) |
| HSL | hsl(250, 92%, 69%) |
| HSV | hsv(250, 59%, 98%) |
| CMYK | cmyk(49%, 59%, 0%, 2.4%) |
| CIE-LAB | lab(52.79, 46.18, -70.49) |
| CIE-LCH | lch(52.79, 84.27, 303.23°) |
| OKLab | oklab(61.23% 0.0587 -0.2017) |
| OKLCH | oklch(61.23% 0.21 286.2) |
| XYZ | xyz(30.5976, 20.8529, 92.0169) |
| Luminance | 0.2085 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.65
Purpley
#8756E4
ΔE00 5.71
Mediumpurple
#9370DB
ΔE00 6.56
Lighter Purple
#A55AF4
ΔE00 7.14
Cornflower
#6A79F7
ΔE00 7.19
Dark Periwinkle
#665FD1
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F66F9 #E0F966
analogous
#6697F9 #7F66F9 #C966F9
triadic
#7F66F9 #F97F66 #66F97F
tetradic
#7F66F9 #F96697 #E0F966 #66F9C9
square
#7F66F9 #F96697 #E0F966 #66F9C9
split-complementary
#7F66F9 #F9C966 #97F966
monochromatic
#2D09DC #4E2BF7 #7F66F9 #B0A1FB #E2DCFE
Accessibility & contrast
On white
4.06
#7F66F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#7F66F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F66F9
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F66F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F66F9 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082FE
Deuteranopia (green-blind)
#007AF6
Tritanopia (blue-blind)
#5388A6
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7f66f9; /* rgb */ color: rgb(127, 102, 249); /* oklch */ color: oklch(61.2% 0.210 286.2);
Tailwind
colors: {
custom: {
50: '#ac92fc',
500: '#7f66f9',
950: '#000000',
},
}SCSS
$custom: #7f66f9; $custom-light: #ac92fc; $custom-dark: #000000;
JSON
{
"hex": "#7f66f9",
"rgb": {
"r": 127,
"g": 102,
"b": 249
},
"hsl": {
"h": 250.204,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.61229,
"c": 0.21006,
"h": 286.2
},
"luminance": 0.20854
}Semantic roles & 50–950 ramp
primary
#7F66F9
secondary
#ECF3C8
accent
#E600BE
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86