#663FC2#663FC2
#663FC2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.193 H 291.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #663FC2 |
|---|---|
| RGB | rgb(102, 63, 194) |
| HSL | hsl(258, 52%, 50%) |
| HSV | hsv(258, 68%, 76%) |
| CMYK | cmyk(47.4%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(38.33, 47.49, -62.77) |
| CIE-LCH | lch(38.33, 78.71, 307.11°) |
| OKLab | oklab(48.9% 0.0699 -0.1798) |
| OKLCH | oklch(48.9% 0.193 291.3) |
| XYZ | xyz(16.9919, 10.2742, 52.1163) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.15
Blue With A Hint Of Purple
#533CC6
ΔE00 3.09
Blurple
#5539CC
ΔE00 3.18
Ocean Blue
#4F42B5
ΔE00 4.32
Burple
#6832E3
ΔE00 4.60
Purpley Blue
#5F34E7
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FC2 #9BC23F
analogous
#3F59C2 #663FC2 #A83FC2
triadic
#663FC2 #C2663F #3FC266
tetradic
#663FC2 #C23F59 #9BC23F #3FC2A8
square
#663FC2 #C23F59 #9BC23F #3FC2A8
split-complementary
#663FC2 #C2A83F #59C23F
monochromatic
#352066 #4D2F95 #663FC2 #8B6DD1 #B09CE0
Accessibility & contrast
On white
6.87
#663FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#663FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663FC2
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FC2 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#495F7B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #663fc2; /* rgb */ color: rgb(102, 63, 194); /* oklch */ color: oklch(48.9% 0.193 291.3);
Tailwind
colors: {
custom: {
50: '#9977d5',
500: '#663fc2',
950: '#000000',
},
}SCSS
$custom: #663fc2; $custom-light: #9977d5; $custom-dark: #000000;
JSON
{
"hex": "#663fc2",
"rgb": {
"r": 102,
"g": 63,
"b": 194
},
"hsl": {
"h": 257.863,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.48904,
"c": 0.19296,
"h": 291.3
},
"luminance": 0.10275
}Semantic roles & 50–950 ramp
primary
#663FC2
secondary
#BACC91
accent
#DB4DB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83