#663BC5#663BC5
#663BC5 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.6% C 0.201 H 291.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #663BC5 |
|---|---|
| RGB | rgb(102, 59, 197) |
| HSL | hsl(259, 54%, 50%) |
| HSV | hsv(259, 70%, 77%) |
| CMYK | cmyk(48.2%, 70.1%, 0%, 22.7%) |
| CIE-LAB | lab(37.81, 50.42, -65.37) |
| CIE-LCH | lch(37.81, 82.55, 307.64°) |
| OKLab | oklab(48.61% 0.0733 -0.1874) |
| OKLCH | oklch(48.61% 0.201 291.3) |
| XYZ | xyz(17.1187, 9.9833, 53.8375) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.60
Blurple
#5539CC
ΔE00 2.76
Blue With A Hint Of Purple
#533CC6
ΔE00 2.96
Burple
#6832E3
ΔE00 3.93
Purpley Blue
#5F34E7
ΔE00 4.40
Ocean Blue
#4F42B5
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663BC5 #9AC53B
analogous
#3B55C5 #663BC5 #AB3BC5
triadic
#663BC5 #C5663B #3BC566
tetradic
#663BC5 #C53B55 #9AC53B #3BC5AB
square
#663BC5 #C53B55 #9AC53B #3BC5AB
split-complementary
#663BC5 #C5AB3B #55C53B
monochromatic
#351F67 #4D2C96 #663BC5 #8B6AD3 #B099E1
Accessibility & contrast
On white
7.01
#663BC5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#663BC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663BC5
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663BC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663BC5 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#475E7C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #663bc5; /* rgb */ color: rgb(102, 59, 197); /* oklch */ color: oklch(48.6% 0.201 291.3);
Tailwind
colors: {
custom: {
50: '#9a74d8',
500: '#663bc5',
950: '#000000',
},
}SCSS
$custom: #663bc5; $custom-light: #9a74d8; $custom-dark: #000000;
JSON
{
"hex": "#663bc5",
"rgb": {
"r": 102,
"g": 59,
"b": 197
},
"hsl": {
"h": 258.696,
"s": 54.331,
"l": 50.196
},
"oklch": {
"l": 0.4861,
"c": 0.20125,
"h": 291.3
},
"luminance": 0.09984
}Semantic roles & 50–950 ramp
primary
#663BC5
secondary
#BACD8F
accent
#DE4AB0
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0815
muted
#7F7B83