#663ECA#663ECA
#663ECA is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.4% C 0.204 H 290.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #663ECA |
|---|---|
| RGB | rgb(102, 62, 202) |
| HSL | hsl(257, 57%, 52%) |
| HSV | hsv(257, 69%, 79%) |
| CMYK | cmyk(49.5%, 69.3%, 0%, 20.8%) |
| CIE-LAB | lab(38.78, 50.25, -66.69) |
| CIE-LCH | lch(38.78, 83.50, 306.99°) |
| OKLab | oklab(49.43% 0.0696 -0.1913) |
| OKLCH | oklch(49.43% 0.204 290) |
| XYZ | xyz(17.8597, 10.5336, 56.9578) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.00
Blurple
#5539CC
ΔE00 2.77
Blue With A Hint Of Purple
#533CC6
ΔE00 2.99
Burple
#6832E3
ΔE00 3.56
Purpley Blue
#5F34E7
ΔE00 3.92
Bluish Purple
#703BE7
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663ECA #A2CA3E
analogous
#3E5CCA #663ECA #AC3ECA
triadic
#663ECA #CA663E #3ECA66
tetradic
#663ECA #CA3E5C #A2CA3E #3ECAAC
square
#663ECA #CA3E5C #A2CA3E #3ECAAC
split-complementary
#663ECA #CAAC3E #5CCA3E
monochromatic
#361F6F #4D2C9F #663ECA #8C6ED7 #B29EE4
Accessibility & contrast
On white
6.76
#663ECA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#663ECA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663ECA
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663ECA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663ECA | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#44627F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #663eca; /* rgb */ color: rgb(102, 62, 202); /* oklch */ color: oklch(49.4% 0.204 290.0);
Tailwind
colors: {
custom: {
50: '#9a76db',
500: '#663eca',
950: '#000000',
},
}SCSS
$custom: #663eca; $custom-light: #9a76db; $custom-dark: #000000;
JSON
{
"hex": "#663eca",
"rgb": {
"r": 102,
"g": 62,
"b": 202
},
"hsl": {
"h": 257.143,
"s": 56.911,
"l": 51.765
},
"oklch": {
"l": 0.49429,
"c": 0.20361,
"h": 290
},
"luminance": 0.10534
}Semantic roles & 50–950 ramp
primary
#663ECA
secondary
#BFD193
accent
#E048B5
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83