#663EBC#663EBC
#663EBC is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.187 H 292.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #663EBC |
|---|---|
| RGB | rgb(102, 62, 188) |
| HSL | hsl(259, 50%, 49%) |
| HSV | hsv(259, 67%, 74%) |
| CMYK | cmyk(45.7%, 67%, 0%, 26.3%) |
| CIE-LAB | lab(37.66, 46.35, -60.35) |
| CIE-LCH | lch(37.66, 76.09, 307.53°) |
| OKLab | oklab(48.28% 0.0718 -0.1727) |
| OKLCH | oklch(48.28% 0.187 292.6) |
| XYZ | xyz(16.2767, 9.9004, 48.6206) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.97
Blue With A Hint Of Purple
#533CC6
ΔE00 3.40
Blurple
#5539CC
ΔE00 3.61
Ocean Blue
#4F42B5
ΔE00 4.22
Burple
#6832E3
ΔE00 5.30
Purpley Blue
#5F34E7
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663EBC #94BC3E
analogous
#3E55BC #663EBC #A53EBC
triadic
#663EBC #BC663E #3EBC66
tetradic
#663EBC #BC3E55 #94BC3E #3EBCA5
square
#663EBC #BC3E55 #94BC3E #3EBCA5
split-complementary
#663EBC #BCA53E #55BC3E
monochromatic
#342060 #4D2F8E #663EBC #896ACE #AE98DD
Accessibility & contrast
On white
7.05
#663EBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#663EBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663EBC
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663EBC | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#4C5D78
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #663ebc; /* rgb */ color: rgb(102, 62, 188); /* oklch */ color: oklch(48.3% 0.187 292.6);
Tailwind
colors: {
custom: {
50: '#9976d1',
500: '#663ebc',
950: '#000000',
},
}SCSS
$custom: #663ebc; $custom-light: #9976d1; $custom-dark: #000000;
JSON
{
"hex": "#663ebc",
"rgb": {
"r": 102,
"g": 62,
"b": 188
},
"hsl": {
"h": 259.048,
"s": 50.4,
"l": 49.02
},
"oklch": {
"l": 0.48278,
"c": 0.18703,
"h": 292.6
},
"luminance": 0.09901
}Semantic roles & 50–950 ramp
primary
#663EBC
secondary
#B6C98D
accent
#DA4EAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83