#663FC7#663FC7
#663FC7 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.3% C 0.199 H 290.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #663FC7 |
|---|---|
| RGB | rgb(102, 63, 199) |
| HSL | hsl(257, 55%, 51%) |
| HSV | hsv(257, 68%, 78%) |
| CMYK | cmyk(48.7%, 68.3%, 0%, 22%) |
| CIE-LAB | lab(38.73, 48.88, -65.04) |
| CIE-LCH | lch(38.73, 81.36, 306.93°) |
| OKLab | oklab(49.32% 0.0692 -0.1865) |
| OKLCH | oklch(49.32% 0.199 290.3) |
| XYZ | xyz(17.5629, 10.5026, 55.1236) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 0.82
Blurple
#5539CC
ΔE00 2.94
Blue With A Hint Of Purple
#533CC6
ΔE00 3.00
Burple
#6832E3
ΔE00 4.00
Purpley Blue
#5F34E7
ΔE00 4.36
Bluish Purple
#703BE7
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FC7 #A0C73F
analogous
#3F5CC7 #663FC7 #AA3FC7
triadic
#663FC7 #C7663F #3FC766
tetradic
#663FC7 #C73F5C #A0C73F #3FC7AA
square
#663FC7 #C73F5C #A0C73F #3FC7AA
split-complementary
#663FC7 #C7AA3F #5CC73F
monochromatic
#35206C #4D2D9B #663FC7 #8C6ED5 #B29EE3
Accessibility & contrast
On white
6.77
#663FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#663FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663FC7
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FC7 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#46617E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #663fc7; /* rgb */ color: rgb(102, 63, 199); /* oklch */ color: oklch(49.3% 0.199 290.3);
Tailwind
colors: {
custom: {
50: '#9a77d9',
500: '#663fc7',
950: '#000000',
},
}SCSS
$custom: #663fc7; $custom-light: #9a77d9; $custom-dark: #000000;
JSON
{
"hex": "#663fc7",
"rgb": {
"r": 102,
"g": 63,
"b": 199
},
"hsl": {
"h": 257.206,
"s": 54.839,
"l": 51.373
},
"oklch": {
"l": 0.49315,
"c": 0.1989,
"h": 290.3
},
"luminance": 0.10503
}Semantic roles & 50–950 ramp
primary
#663FC7
secondary
#BECF93
accent
#DE4AB4
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83