#663FC3#663FC3
#663FC3 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.194 H 291.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #663FC3 |
|---|---|
| RGB | rgb(102, 63, 195) |
| HSL | hsl(258, 52%, 51%) |
| HSV | hsv(258, 68%, 76%) |
| CMYK | cmyk(47.7%, 67.7%, 0%, 23.5%) |
| CIE-LAB | lab(38.41, 47.77, -63.23) |
| CIE-LCH | lch(38.41, 79.24, 307.07°) |
| OKLab | oklab(48.99% 0.0698 -0.1812) |
| OKLCH | oklch(48.99% 0.194 291.1) |
| XYZ | xyz(17.1045, 10.3193, 52.7098) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.06
Blue With A Hint Of Purple
#533CC6
ΔE00 3.06
Blurple
#5539CC
ΔE00 3.12
Ocean Blue
#4F42B5
ΔE00 4.37
Burple
#6832E3
ΔE00 4.48
Purpley Blue
#5F34E7
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FC3 #9CC33F
analogous
#3F5AC3 #663FC3 #A83FC3
triadic
#663FC3 #C3663F #3FC366
tetradic
#663FC3 #C33F5A #9CC33F #3FC3A8
square
#663FC3 #C33F5A #9CC33F #3FC3A8
split-complementary
#663FC3 #C3A83F #5AC33F
monochromatic
#352067 #4D2F96 #663FC3 #8B6ED2 #B09CE0
Accessibility & contrast
On white
6.85
#663FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#663FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663FC3
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FC3 | 1.00 | 6.85 | 3.06 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#48607C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #663fc3; /* rgb */ color: rgb(102, 63, 195); /* oklch */ color: oklch(49.0% 0.194 291.1);
Tailwind
colors: {
custom: {
50: '#9977d6',
500: '#663fc3',
950: '#000000',
},
}SCSS
$custom: #663fc3; $custom-light: #9977d6; $custom-dark: #000000;
JSON
{
"hex": "#663fc3",
"rgb": {
"r": 102,
"g": 63,
"b": 195
},
"hsl": {
"h": 257.727,
"s": 52.381,
"l": 50.588
},
"oklch": {
"l": 0.48986,
"c": 0.19416,
"h": 291.1
},
"luminance": 0.1032
}Semantic roles & 50–950 ramp
primary
#663FC3
secondary
#BBCC92
accent
#DC4CB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83