#663EB9#663EB9
#663EB9 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.0% C 0.183 H 293.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #663EB9 |
|---|---|
| RGB | rgb(102, 62, 185) |
| HSL | hsl(260, 50%, 48%) |
| HSV | hsv(260, 66%, 73%) |
| CMYK | cmyk(44.9%, 66.5%, 0%, 27.5%) |
| CIE-LAB | lab(37.43, 45.52, -58.96) |
| CIE-LCH | lch(37.43, 74.49, 307.67°) |
| OKLab | oklab(48.04% 0.0722 -0.1686) |
| OKLCH | oklch(48.04% 0.183 293.2) |
| XYZ | xyz(15.9567, 9.7723, 46.9351) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.37
Blue With A Hint Of Purple
#533CC6
ΔE00 3.66
Blurple
#5539CC
ΔE00 3.92
Ocean Blue
#4F42B5
ΔE00 4.21
Burple
#6832E3
ΔE00 5.71
Rebeccapurple
#663399
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663EB9 #91B93E
analogous
#3E53B9 #663EB9 #A33EB9
triadic
#663EB9 #B9663E #3EB966
tetradic
#663EB9 #B93E53 #91B93E #3EB9A3
square
#663EB9 #B93E53 #91B93E #3EB9A3
split-complementary
#663EB9 #B9A33E #53B93E
monochromatic
#331F5D #4D2F8B #663EB9 #8968CC #AC96DC
Accessibility & contrast
On white
7.11
#663EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#663EB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663EB9
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663EB9 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#4E5C76
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #663eb9; /* rgb */ color: rgb(102, 62, 185); /* oklch */ color: oklch(48.0% 0.183 293.2);
Tailwind
colors: {
custom: {
50: '#9876cf',
500: '#663eb9',
950: '#000000',
},
}SCSS
$custom: #663eb9; $custom-light: #9876cf; $custom-dark: #000000;
JSON
{
"hex": "#663eb9",
"rgb": {
"r": 102,
"g": 62,
"b": 185
},
"hsl": {
"h": 259.512,
"s": 49.798,
"l": 48.431
},
"oklch": {
"l": 0.48038,
"c": 0.18343,
"h": 293.2
},
"luminance": 0.09773
}Semantic roles & 50–950 ramp
primary
#663EB9
secondary
#B4C78C
accent
#D94EAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82