#663BC7#663BC7
#663BC7 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.8% C 0.204 H 291.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #663BC7 |
|---|---|
| RGB | rgb(102, 59, 199) |
| HSL | hsl(258, 56%, 51%) |
| HSV | hsv(258, 70%, 78%) |
| CMYK | cmyk(48.7%, 70.4%, 0%, 22%) |
| CIE-LAB | lab(37.98, 50.97, -66.27) |
| CIE-LCH | lch(37.98, 83.60, 307.56°) |
| OKLab | oklab(48.78% 0.0729 -0.1901) |
| OKLCH | oklch(48.78% 0.204 291) |
| XYZ | xyz(17.3493, 10.0756, 55.0524) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.54
Blurple
#5539CC
ΔE00 2.66
Blue With A Hint Of Purple
#533CC6
ΔE00 2.93
Burple
#6832E3
ΔE00 3.68
Purpley Blue
#5F34E7
ΔE00 4.13
Bluish Purple
#703BE7
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663BC7 #9CC73B
analogous
#3B56C7 #663BC7 #AC3BC7
triadic
#663BC7 #C7663B #3BC766
tetradic
#663BC7 #C73B56 #9CC73B #3BC7AC
square
#663BC7 #C73B56 #9CC73B #3BC7AC
split-complementary
#663BC7 #C7AC3B #56C73B
monochromatic
#351E69 #4D2C99 #663BC7 #8B6BD5 #B09AE2
Accessibility & contrast
On white
6.96
#663BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#663BC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663BC7
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663BC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663BC7 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#0056C4
Tritanopia (blue-blind)
#465F7D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #663bc7; /* rgb */ color: rgb(102, 59, 199); /* oklch */ color: oklch(48.8% 0.204 291.0);
Tailwind
colors: {
custom: {
50: '#9a74d9',
500: '#663bc7',
950: '#000000',
},
}SCSS
$custom: #663bc7; $custom-light: #9a74d9; $custom-dark: #000000;
JSON
{
"hex": "#663bc7",
"rgb": {
"r": 102,
"g": 59,
"b": 199
},
"hsl": {
"h": 258.429,
"s": 55.556,
"l": 50.588
},
"oklch": {
"l": 0.48779,
"c": 0.20357,
"h": 291
},
"luminance": 0.10076
}Semantic roles & 50–950 ramp
primary
#663BC7
secondary
#BBCE90
accent
#DF49B1
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83