#663DC5#663DC5
#663DC5 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.9% C 0.199 H 291.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #663DC5 |
|---|---|
| RGB | rgb(102, 61, 197) |
| HSL | hsl(258, 54%, 51%) |
| HSV | hsv(258, 69%, 77%) |
| CMYK | cmyk(48.2%, 69%, 0%, 22.7%) |
| CIE-LAB | lab(38.19, 49.38, -64.76) |
| CIE-LCH | lch(38.19, 81.44, 307.33°) |
| OKLab | oklab(48.88% 0.0714 -0.1857) |
| OKLCH | oklch(48.88% 0.199 291) |
| XYZ | xyz(17.2234, 10.1928, 53.8724) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.22
Blurple
#5539CC
ΔE00 2.85
Blue With A Hint Of Purple
#533CC6
ΔE00 2.95
Burple
#6832E3
ΔE00 4.06
Purpley Blue
#5F34E7
ΔE00 4.48
Ocean Blue
#4F42B5
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663DC5 #9CC53D
analogous
#3D58C5 #663DC5 #AA3DC5
triadic
#663DC5 #C5663D #3DC566
tetradic
#663DC5 #C53D58 #9CC53D #3DC5AA
square
#663DC5 #C53D58 #9CC53D #3DC5AA
split-complementary
#663DC5 #C5AA3D #58C53D
monochromatic
#351F68 #4D2D98 #663DC5 #8B6CD3 #B09BE1
Accessibility & contrast
On white
6.91
#663DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#663DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663DC5
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663DC5 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#475F7C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #663dc5; /* rgb */ color: rgb(102, 61, 197); /* oklch */ color: oklch(48.9% 0.199 291.0);
Tailwind
colors: {
custom: {
50: '#9a76d8',
500: '#663dc5',
950: '#000000',
},
}SCSS
$custom: #663dc5; $custom-light: #9a76d8; $custom-dark: #000000;
JSON
{
"hex": "#663dc5",
"rgb": {
"r": 102,
"g": 61,
"b": 197
},
"hsl": {
"h": 258.088,
"s": 53.968,
"l": 50.588
},
"oklch": {
"l": 0.48876,
"c": 0.19892,
"h": 291
},
"luminance": 0.10193
}Semantic roles & 50–950 ramp
primary
#663DC5
secondary
#BBCD91
accent
#DD4AB1
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0915
muted
#7F7B83