#663BBB#663BBB
#663BBB is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.190 H 293.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #663BBB |
|---|---|
| RGB | rgb(102, 59, 187) |
| HSL | hsl(260, 52%, 48%) |
| HSV | hsv(260, 68%, 73%) |
| CMYK | cmyk(45.5%, 68.4%, 0%, 26.7%) |
| CIE-LAB | lab(37.00, 47.67, -60.83) |
| CIE-LCH | lch(37.00, 77.29, 308.09°) |
| OKLab | oklab(47.78% 0.075 -0.1741) |
| OKLCH | oklch(47.78% 0.19 293.3) |
| XYZ | xyz(16.0106, 9.5401, 48.0019) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.47
Blue With A Hint Of Purple
#533CC6
ΔE00 3.49
Blurple
#5539CC
ΔE00 3.59
Ocean Blue
#4F42B5
ΔE00 4.48
Purple Blue
#5D21D0
ΔE00 5.27
Burple
#6832E3
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663BBB #90BB3B
analogous
#3B50BB #663BBB #A63BBB
triadic
#663BBB #BB663B #3BBB66
tetradic
#663BBB #BB3B50 #90BB3B #3BBBA6
square
#663BBB #BB3B50 #90BB3B #3BBBA6
split-complementary
#663BBB #BBA63B #50BB3B
monochromatic
#331E5E #4D2C8C #663BBB #8865CE #AC93DD
Accessibility & contrast
On white
7.22
#663BBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#663BBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663BBB
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663BBB | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#4D5B76
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #663bbb; /* rgb */ color: rgb(102, 59, 187); /* oklch */ color: oklch(47.8% 0.190 293.3);
Tailwind
colors: {
custom: {
50: '#9974d0',
500: '#663bbb',
950: '#000000',
},
}SCSS
$custom: #663bbb; $custom-light: #9974d0; $custom-dark: #000000;
JSON
{
"hex": "#663bbb",
"rgb": {
"r": 102,
"g": 59,
"b": 187
},
"hsl": {
"h": 260.156,
"s": 52.033,
"l": 48.235
},
"oklch": {
"l": 0.47781,
"c": 0.18958,
"h": 293.3
},
"luminance": 0.09541
}Semantic roles & 50–950 ramp
primary
#663BBB
secondary
#B3C88A
accent
#DB4CAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82