#663CC2#663CC2
#663CC2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.197 H 291.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #663CC2 |
|---|---|
| RGB | rgb(102, 60, 194) |
| HSL | hsl(259, 53%, 50%) |
| HSV | hsv(259, 69%, 76%) |
| CMYK | cmyk(47.4%, 69.1%, 0%, 23.9%) |
| CIE-LAB | lab(37.75, 49.07, -63.71) |
| CIE-LCH | lch(37.75, 80.42, 307.60°) |
| OKLab | oklab(48.49% 0.0729 -0.1826) |
| OKLCH | oklch(48.49% 0.197 291.8) |
| XYZ | xyz(16.8302, 9.9509, 52.0624) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.61
Blurple
#5539CC
ΔE00 2.98
Blue With A Hint Of Purple
#533CC6
ΔE00 3.03
Burple
#6832E3
ΔE00 4.38
Ocean Blue
#4F42B5
ΔE00 4.53
Purpley Blue
#5F34E7
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663CC2 #98C23C
analogous
#3C55C2 #663CC2 #A93CC2
triadic
#663CC2 #C2663C #3CC266
tetradic
#663CC2 #C23C55 #98C23C #3CC2A9
square
#663CC2 #C23C55 #98C23C #3CC2A9
split-complementary
#663CC2 #C2A93C #55C23C
monochromatic
#351F65 #4D2E93 #663CC2 #8A6AD1 #AF99DF
Accessibility & contrast
On white
7.02
#663CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#663CC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663CC2
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663CC2 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#495E7A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #663cc2; /* rgb */ color: rgb(102, 60, 194); /* oklch */ color: oklch(48.5% 0.197 291.8);
Tailwind
colors: {
custom: {
50: '#9a75d5',
500: '#663cc2',
950: '#000000',
},
}SCSS
$custom: #663cc2; $custom-light: #9a75d5; $custom-dark: #000000;
JSON
{
"hex": "#663cc2",
"rgb": {
"r": 102,
"g": 60,
"b": 194
},
"hsl": {
"h": 258.806,
"s": 52.756,
"l": 49.804
},
"oklch": {
"l": 0.48492,
"c": 0.19659,
"h": 291.8
},
"luminance": 0.09952
}Semantic roles & 50–950 ramp
primary
#663CC2
secondary
#B8CB8F
accent
#DC4CAF
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83