#663EBB#663EBB
#663EBB is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.186 H 292.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #663EBB |
|---|---|
| RGB | rgb(102, 62, 187) |
| HSL | hsl(259, 50%, 49%) |
| HSV | hsv(259, 67%, 73%) |
| CMYK | cmyk(45.5%, 66.8%, 0%, 26.7%) |
| CIE-LAB | lab(37.59, 46.08, -59.88) |
| CIE-LCH | lch(37.59, 75.56, 307.58°) |
| OKLab | oklab(48.2% 0.072 -0.1713) |
| OKLCH | oklch(48.2% 0.186 292.8) |
| XYZ | xyz(16.1693, 9.8574, 48.0548) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.10
Blue With A Hint Of Purple
#533CC6
ΔE00 3.48
Blurple
#5539CC
ΔE00 3.71
Ocean Blue
#4F42B5
ΔE00 4.21
Burple
#6832E3
ΔE00 5.44
Purple Blue
#5D21D0
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663EBB #93BB3E
analogous
#3E55BB #663EBB #A53EBB
triadic
#663EBB #BB663E #3EBB66
tetradic
#663EBB #BB3E55 #93BB3E #3EBBA5
square
#663EBB #BB3E55 #93BB3E #3EBBA5
split-complementary
#663EBB #BBA53E #55BB3E
monochromatic
#34205F #4D2F8D #663EBB #8969CD #AD97DC
Accessibility & contrast
On white
7.07
#663EBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#663EBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663EBB
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663EBB | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#4D5C77
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #663ebb; /* rgb */ color: rgb(102, 62, 187); /* oklch */ color: oklch(48.2% 0.186 292.8);
Tailwind
colors: {
custom: {
50: '#9976d0',
500: '#663ebb',
950: '#000000',
},
}SCSS
$custom: #663ebb; $custom-light: #9976d0; $custom-dark: #000000;
JSON
{
"hex": "#663ebb",
"rgb": {
"r": 102,
"g": 62,
"b": 187
},
"hsl": {
"h": 259.2,
"s": 50.201,
"l": 48.824
},
"oklch": {
"l": 0.48198,
"c": 0.18583,
"h": 292.8
},
"luminance": 0.09858
}Semantic roles & 50–950 ramp
primary
#663EBB
secondary
#B5C88D
accent
#DA4EAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82