#663EC7#663EC7
#663EC7 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.2% C 0.200 H 290.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #663EC7 |
|---|---|
| RGB | rgb(102, 62, 199) |
| HSL | hsl(258, 55%, 51%) |
| HSV | hsv(258, 69%, 78%) |
| CMYK | cmyk(48.7%, 68.8%, 0%, 22%) |
| CIE-LAB | lab(38.54, 49.41, -65.35) |
| CIE-LCH | lch(38.54, 81.93, 307.09°) |
| OKLab | oklab(49.18% 0.0701 -0.1874) |
| OKLCH | oklch(49.18% 0.2 290.5) |
| XYZ | xyz(17.5080, 10.3929, 55.1053) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 0.97
Blurple
#5539CC
ΔE00 2.84
Blue With A Hint Of Purple
#533CC6
ΔE00 2.96
Burple
#6832E3
ΔE00 3.90
Purpley Blue
#5F34E7
ΔE00 4.28
Bluish Purple
#703BE7
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663EC7 #9FC73E
analogous
#3E5AC7 #663EC7 #AA3EC7
triadic
#663EC7 #C7663E #3EC766
tetradic
#663EC7 #C73E5A #9FC73E #3EC7AA
square
#663EC7 #C73E5A #9FC73E #3EC7AA
split-complementary
#663EC7 #C7AA3E #5AC73E
monochromatic
#351F6B #4D2D9B #663EC7 #8C6DD5 #B19DE3
Accessibility & contrast
On white
6.82
#663EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#663EC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663EC7
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663EC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663EC7 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#46617E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #663ec7; /* rgb */ color: rgb(102, 62, 199); /* oklch */ color: oklch(49.2% 0.200 290.5);
Tailwind
colors: {
custom: {
50: '#9a76d9',
500: '#663ec7',
950: '#000000',
},
}SCSS
$custom: #663ec7; $custom-light: #9a76d9; $custom-dark: #000000;
JSON
{
"hex": "#663ec7",
"rgb": {
"r": 102,
"g": 62,
"b": 199
},
"hsl": {
"h": 257.518,
"s": 55.02,
"l": 51.176
},
"oklch": {
"l": 0.49178,
"c": 0.20008,
"h": 290.5
},
"luminance": 0.10394
}Semantic roles & 50–950 ramp
primary
#663EC7
secondary
#BDCF92
accent
#DE49B3
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83