#663CC1#663CC1
#663CC1 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.195 H 291.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #663CC1 |
|---|---|
| RGB | rgb(102, 60, 193) |
| HSL | hsl(259, 53%, 50%) |
| HSV | hsv(259, 69%, 76%) |
| CMYK | cmyk(47.2%, 68.9%, 0%, 24.3%) |
| CIE-LAB | lab(37.67, 48.80, -63.26) |
| CIE-LCH | lch(37.67, 79.89, 307.65°) |
| OKLab | oklab(48.41% 0.073 -0.1813) |
| OKLCH | oklch(48.41% 0.195 291.9) |
| XYZ | xyz(16.7183, 9.9062, 51.4729) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.69
Blurple
#5539CC
ΔE00 3.06
Blue With A Hint Of Purple
#533CC6
ΔE00 3.08
Ocean Blue
#4F42B5
ΔE00 4.49
Burple
#6832E3
ΔE00 4.51
Purpley Blue
#5F34E7
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663CC1 #97C13C
analogous
#3C55C1 #663CC1 #A83CC1
triadic
#663CC1 #C1663C #3CC166
tetradic
#663CC1 #C13C55 #97C13C #3CC1A8
square
#663CC1 #C13C55 #97C13C #3CC1A8
split-complementary
#663CC1 #C1A83C #55C13C
monochromatic
#351F64 #4D2D92 #663CC1 #8A6AD1 #AF98DF
Accessibility & contrast
On white
7.04
#663CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#663CC1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663CC1
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663CC1 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#4A5D7A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #663cc1; /* rgb */ color: rgb(102, 60, 193); /* oklch */ color: oklch(48.4% 0.195 291.9);
Tailwind
colors: {
custom: {
50: '#9975d5',
500: '#663cc1',
950: '#000000',
},
}SCSS
$custom: #663cc1; $custom-light: #9975d5; $custom-dark: #000000;
JSON
{
"hex": "#663cc1",
"rgb": {
"r": 102,
"g": 60,
"b": 193
},
"hsl": {
"h": 258.947,
"s": 52.569,
"l": 49.608
},
"oklch": {
"l": 0.48409,
"c": 0.19542,
"h": 291.9
},
"luminance": 0.09907
}Semantic roles & 50–950 ramp
primary
#663CC1
secondary
#B8CB8E
accent
#DC4CAE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83