#663DC4#663DC4
#663DC4 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.8% C 0.198 H 291.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #663DC4 |
|---|---|
| RGB | rgb(102, 61, 196) |
| HSL | hsl(258, 53%, 50%) |
| HSV | hsv(258, 69%, 77%) |
| CMYK | cmyk(48%, 68.9%, 0%, 23.1%) |
| CIE-LAB | lab(38.11, 49.10, -64.31) |
| CIE-LCH | lch(38.11, 80.91, 307.36°) |
| OKLab | oklab(48.79% 0.0716 -0.1843) |
| OKLCH | oklch(48.79% 0.198 291.2) |
| XYZ | xyz(17.1092, 10.1472, 53.2710) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.28
Blurple
#5539CC
ΔE00 2.90
Blue With A Hint Of Purple
#533CC6
ΔE00 2.97
Burple
#6832E3
ΔE00 4.18
Ocean Blue
#4F42B5
ΔE00 4.54
Purpley Blue
#5F34E7
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663DC4 #9BC43D
analogous
#3D57C4 #663DC4 #A93DC4
triadic
#663DC4 #C4663D #3DC466
tetradic
#663DC4 #C43D57 #9BC43D #3DC4A9
square
#663DC4 #C43D57 #9BC43D #3DC4A9
split-complementary
#663DC4 #C4A93D #57C43D
monochromatic
#351F67 #4D2E96 #663DC4 #8B6CD2 #B09BE1
Accessibility & contrast
On white
6.93
#663DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#663DC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663DC4
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663DC4 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#485F7C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #663dc4; /* rgb */ color: rgb(102, 61, 196); /* oklch */ color: oklch(48.8% 0.198 291.2);
Tailwind
colors: {
custom: {
50: '#9a76d7',
500: '#663dc4',
950: '#000000',
},
}SCSS
$custom: #663dc4; $custom-light: #9a76d7; $custom-dark: #000000;
JSON
{
"hex": "#663dc4",
"rgb": {
"r": 102,
"g": 61,
"b": 196
},
"hsl": {
"h": 258.222,
"s": 53.36,
"l": 50.392
},
"oklch": {
"l": 0.48793,
"c": 0.19774,
"h": 291.2
},
"luminance": 0.10148
}Semantic roles & 50–950 ramp
primary
#663DC4
secondary
#BACD90
accent
#DD4BB1
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83