#663CBB#663CBB
#663CBB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.188 H 293.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #663CBB |
|---|---|
| RGB | rgb(102, 60, 187) |
| HSL | hsl(260, 51%, 48%) |
| HSV | hsv(260, 68%, 73%) |
| CMYK | cmyk(45.5%, 67.9%, 0%, 26.7%) |
| CIE-LAB | lab(37.20, 47.14, -60.52) |
| CIE-LCH | lch(37.20, 76.71, 307.92°) |
| OKLab | oklab(47.92% 0.074 -0.1732) |
| OKLCH | oklch(47.92% 0.188 293.1) |
| XYZ | xyz(16.0625, 9.6439, 48.0192) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.33
Blue With A Hint Of Purple
#533CC6
ΔE00 3.47
Blurple
#5539CC
ΔE00 3.62
Ocean Blue
#4F42B5
ΔE00 4.38
Burple
#6832E3
ΔE00 5.32
Purple Blue
#5D21D0
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663CBB #91BB3C
analogous
#3C51BB #663CBB #A53CBB
triadic
#663CBB #BB663C #3CBB66
tetradic
#663CBB #BB3C51 #91BB3C #3CBBA5
square
#663CBB #BB3C51 #91BB3C #3CBBA5
split-complementary
#663CBB #BBA53C #51BB3C
monochromatic
#331E5E #4D2D8D #663CBB #8966CE #AC95DD
Accessibility & contrast
On white
7.17
#663CBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#663CBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663CBB
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663CBB | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#4D5B77
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #663cbb; /* rgb */ color: rgb(102, 60, 187); /* oklch */ color: oklch(47.9% 0.188 293.1);
Tailwind
colors: {
custom: {
50: '#9975d0',
500: '#663cbb',
950: '#000000',
},
}SCSS
$custom: #663cbb; $custom-light: #9975d0; $custom-dark: #000000;
JSON
{
"hex": "#663cbb",
"rgb": {
"r": 102,
"g": 60,
"b": 187
},
"hsl": {
"h": 259.843,
"s": 51.417,
"l": 48.431
},
"oklch": {
"l": 0.47918,
"c": 0.18834,
"h": 293.1
},
"luminance": 0.09644
}Semantic roles & 50–950 ramp
primary
#663CBB
secondary
#B4C88B
accent
#DB4DAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82