#663EBA#663EBA
#663EBA is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.185 H 293.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #663EBA |
|---|---|
| RGB | rgb(102, 62, 186) |
| HSL | hsl(259, 50%, 49%) |
| HSV | hsv(259, 67%, 73%) |
| CMYK | cmyk(45.2%, 66.7%, 0%, 27.1%) |
| CIE-LAB | lab(37.51, 45.80, -59.42) |
| CIE-LCH | lch(37.51, 75.02, 307.62°) |
| OKLab | oklab(48.12% 0.0721 -0.17) |
| OKLCH | oklch(48.12% 0.185 293) |
| XYZ | xyz(16.0626, 9.8147, 47.4930) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.24
Blue With A Hint Of Purple
#533CC6
ΔE00 3.57
Blurple
#5539CC
ΔE00 3.81
Ocean Blue
#4F42B5
ΔE00 4.21
Burple
#6832E3
ΔE00 5.57
Purple Blue
#5D21D0
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663EBA #92BA3E
analogous
#3E54BA #663EBA #A43EBA
triadic
#663EBA #BA663E #3EBA66
tetradic
#663EBA #BA3E54 #92BA3E #3EBAA4
square
#663EBA #BA3E54 #92BA3E #3EBAA4
split-complementary
#663EBA #BAA43E #54BA3E
monochromatic
#341F5E #4D2F8C #663EBA #8968CD #AD96DC
Accessibility & contrast
On white
7.09
#663EBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#663EBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663EBA
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663EBA | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#4E5C77
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #663eba; /* rgb */ color: rgb(102, 62, 186); /* oklch */ color: oklch(48.1% 0.185 293.0);
Tailwind
colors: {
custom: {
50: '#9876d0',
500: '#663eba',
950: '#000000',
},
}SCSS
$custom: #663eba; $custom-light: #9876d0; $custom-dark: #000000;
JSON
{
"hex": "#663eba",
"rgb": {
"r": 102,
"g": 62,
"b": 186
},
"hsl": {
"h": 259.355,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.48118,
"c": 0.18463,
"h": 293
},
"luminance": 0.09815
}Semantic roles & 50–950 ramp
primary
#663EBA
secondary
#B4C88C
accent
#DA4EAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82