#7F66BF#7F66BF
#7F66BF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.4% C 0.134 H 294.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7F66BF |
|---|---|
| RGB | rgb(127, 102, 191) |
| HSL | hsl(257, 41%, 57%) |
| HSV | hsv(257, 47%, 75%) |
| CMYK | cmyk(33.5%, 46.6%, 0%, 25.1%) |
| CIE-LAB | lab(49.22, 30.02, -43.38) |
| CIE-LCH | lch(49.22, 52.75, 304.68°) |
| OKLab | oklab(57.44% 0.0563 -0.1221) |
| OKLCH | oklch(57.44% 0.134 294.7) |
| XYZ | xyz(22.9054, 17.7760, 51.5044) |
| Luminance | 0.1778 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.74
Deep Lilac
#966EBD
ΔE00 6.06
Light Indigo
#6D5ACF
ΔE00 6.07
Mediumpurple
#9370DB
ΔE00 6.24
Slate Blue
#6A5ACD
ΔE00 6.31
Dark Periwinkle
#665FD1
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F66BF #A6BF66
analogous
#6679BF #7F66BF #AC66BF
triadic
#7F66BF #BF7F66 #66BF7F
tetradic
#7F66BF #BF6679 #A6BF66 #66BFAC
square
#7F66BF #BF6679 #A6BF66 #66BFAC
split-complementary
#7F66BF #BFAC66 #79BF66
monochromatic
#463278 #5F44A3 #7F66BF #A391D1 #C7BCE3
Accessibility & contrast
On white
4.61
#7F66BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#7F66BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F66BF
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F66BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F66BF | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4876C2
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#707789
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7f66bf; /* rgb */ color: rgb(127, 102, 191); /* oklch */ color: oklch(57.4% 0.134 294.7);
Tailwind
colors: {
custom: {
50: '#a792d3',
500: '#7f66bf',
950: '#000000',
},
}SCSS
$custom: #7f66bf; $custom-light: #a792d3; $custom-dark: #000000;
JSON
{
"hex": "#7f66bf",
"rgb": {
"r": 127,
"g": 102,
"b": 191
},
"hsl": {
"h": 256.854,
"s": 41.014,
"l": 57.451
},
"oklch": {
"l": 0.57441,
"c": 0.13447,
"h": 294.7
},
"luminance": 0.17776
}Semantic roles & 50–950 ramp
primary
#7F66BF
secondary
#C8D2AE
accent
#D157AF
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83