#663FC5#663FC5
#663FC5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.197 H 290.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #663FC5 |
|---|---|
| RGB | rgb(102, 63, 197) |
| HSL | hsl(257, 54%, 51%) |
| HSV | hsv(257, 68%, 77%) |
| CMYK | cmyk(48.2%, 68%, 0%, 22.7%) |
| CIE-LAB | lab(38.57, 48.33, -64.14) |
| CIE-LCH | lch(38.57, 80.30, 307.00°) |
| OKLab | oklab(49.15% 0.0695 -0.1838) |
| OKLCH | oklch(49.15% 0.197 290.7) |
| XYZ | xyz(17.3322, 10.4103, 53.9087) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 0.90
Blurple
#5539CC
ΔE00 3.01
Blue With A Hint Of Purple
#533CC6
ΔE00 3.02
Burple
#6832E3
ΔE00 4.23
Ocean Blue
#4F42B5
ΔE00 4.47
Purpley Blue
#5F34E7
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FC5 #9EC53F
analogous
#3F5BC5 #663FC5 #A93FC5
triadic
#663FC5 #C5663F #3FC566
tetradic
#663FC5 #C53F5B #9EC53F #3FC5A9
square
#663FC5 #C53F5B #9EC53F #3FC5A9
split-complementary
#663FC5 #C5A93F #5BC53F
monochromatic
#35206A #4D2E99 #663FC5 #8B6ED3 #B19DE1
Accessibility & contrast
On white
6.81
#663FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#663FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663FC5
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FC5 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#47617D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #663fc5; /* rgb */ color: rgb(102, 63, 197); /* oklch */ color: oklch(49.1% 0.197 290.7);
Tailwind
colors: {
custom: {
50: '#9a77d8',
500: '#663fc5',
950: '#000000',
},
}SCSS
$custom: #663fc5; $custom-light: #9a77d8; $custom-dark: #000000;
JSON
{
"hex": "#663fc5",
"rgb": {
"r": 102,
"g": 63,
"b": 197
},
"hsl": {
"h": 257.463,
"s": 53.6,
"l": 50.98
},
"oklch": {
"l": 0.4915,
"c": 0.19653,
"h": 290.7
},
"luminance": 0.10411
}Semantic roles & 50–950 ramp
primary
#663FC5
secondary
#BCCE92
accent
#DD4BB2
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0915
muted
#7F7B83