#665697#665697
#665697 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 49.8% C 0.102 H 293.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #665697 |
|---|---|
| RGB | rgb(102, 86, 151) |
| HSL | hsl(255, 27%, 46%) |
| HSV | hsv(255, 43%, 59%) |
| CMYK | cmyk(32.5%, 43%, 0%, 40.8%) |
| CIE-LAB | lab(40.76, 21.85, -33.39) |
| CIE-LCH | lch(40.76, 39.91, 303.20°) |
| OKLab | oklab(49.8% 0.0411 -0.0936) |
| OKLCH | oklch(49.8% 0.102 293.7) |
| XYZ | xyz(14.3918, 11.7145, 30.7750) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.51
Twilight
#4E518B
ΔE00 5.68
Dusk
#4E5481
ΔE00 6.90
Iris
#6258C4
ΔE00 8.40
Blueberry
#464196
ΔE00 8.78
Darkslateblue
#483D8B
ΔE00 8.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665697 #879756
analogous
#566797 #665697 #875697
triadic
#665697 #976656 #569766
tetradic
#665697 #975667 #879756 #569787
square
#665697 #975667 #879756 #569787
split-complementary
#665697 #978756 #679756
monochromatic
#312A49 #4C4070 #665697 #8678B2 #A99FC8
Accessibility & contrast
On white
6.28
#665697 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#665697 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665697
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665697 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426199
Deuteranopia (green-blind)
#445F95
Tritanopia (blue-blind)
#5B626F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #665697; /* rgb */ color: rgb(102, 86, 151); /* oklch */ color: oklch(49.8% 0.102 293.7);
Tailwind
colors: {
custom: {
50: '#9385b6',
500: '#665697',
950: '#000000',
},
}SCSS
$custom: #665697; $custom-light: #9385b6; $custom-dark: #000000;
JSON
{
"hex": "#665697",
"rgb": {
"r": 102,
"g": 86,
"b": 151
},
"hsl": {
"h": 254.769,
"s": 27.426,
"l": 46.471
},
"oklch": {
"l": 0.498,
"c": 0.10225,
"h": 293.7
},
"luminance": 0.11715
}Semantic roles & 50–950 ramp
primary
#665697
secondary
#ADB693
accent
#C464AC
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80