#663FC4#663FC4
#663FC4 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.195 H 290.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #663FC4 |
|---|---|
| RGB | rgb(102, 63, 196) |
| HSL | hsl(258, 53%, 51%) |
| HSV | hsv(258, 68%, 77%) |
| CMYK | cmyk(48%, 67.9%, 0%, 23.1%) |
| CIE-LAB | lab(38.49, 48.04, -63.68) |
| CIE-LCH | lch(38.49, 79.77, 307.03°) |
| OKLab | oklab(49.07% 0.0696 -0.1825) |
| OKLCH | oklch(49.07% 0.195 290.9) |
| XYZ | xyz(17.2180, 10.3647, 53.3072) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 0.97
Blue With A Hint Of Purple
#533CC6
ΔE00 3.03
Blurple
#5539CC
ΔE00 3.06
Burple
#6832E3
ΔE00 4.35
Ocean Blue
#4F42B5
ΔE00 4.42
Purpley Blue
#5F34E7
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FC4 #9DC43F
analogous
#3F5AC4 #663FC4 #A83FC4
triadic
#663FC4 #C4663F #3FC466
tetradic
#663FC4 #C43F5A #9DC43F #3FC4A8
square
#663FC4 #C43F5A #9DC43F #3FC4A8
split-complementary
#663FC4 #C4A83F #5AC43F
monochromatic
#352068 #4D2E97 #663FC4 #8B6ED2 #B19DE1
Accessibility & contrast
On white
6.83
#663FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#663FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663FC4
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FC4 | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#48607C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #663fc4; /* rgb */ color: rgb(102, 63, 196); /* oklch */ color: oklch(49.1% 0.195 290.9);
Tailwind
colors: {
custom: {
50: '#9a77d7',
500: '#663fc4',
950: '#000000',
},
}SCSS
$custom: #663fc4; $custom-light: #9a77d7; $custom-dark: #000000;
JSON
{
"hex": "#663fc4",
"rgb": {
"r": 102,
"g": 63,
"b": 196
},
"hsl": {
"h": 257.594,
"s": 52.988,
"l": 50.784
},
"oklch": {
"l": 0.49068,
"c": 0.19534,
"h": 290.9
},
"luminance": 0.10365
}Semantic roles & 50–950 ramp
primary
#663FC4
secondary
#BCCD92
accent
#DC4BB2
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83