#663FC6#663FC6
#663FC6 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.2% C 0.198 H 290.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #663FC6 |
|---|---|
| RGB | rgb(102, 63, 198) |
| HSL | hsl(257, 54%, 51%) |
| HSV | hsv(257, 68%, 78%) |
| CMYK | cmyk(48.5%, 68.2%, 0%, 22.4%) |
| CIE-LAB | lab(38.65, 48.60, -64.59) |
| CIE-LCH | lch(38.65, 80.83, 306.96°) |
| OKLab | oklab(49.23% 0.0693 -0.1852) |
| OKLCH | oklch(49.23% 0.198 290.5) |
| XYZ | xyz(17.4471, 10.4563, 54.5141) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 0.85
Blurple
#5539CC
ΔE00 2.97
Blue With A Hint Of Purple
#533CC6
ΔE00 3.01
Burple
#6832E3
ΔE00 4.12
Purpley Blue
#5F34E7
ΔE00 4.48
Ocean Blue
#4F42B5
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FC6 #9FC63F
analogous
#3F5BC6 #663FC6 #A93FC6
triadic
#663FC6 #C6663F #3FC666
tetradic
#663FC6 #C63F5B #9FC63F #3FC6A9
square
#663FC6 #C63F5B #9FC63F #3FC6A9
split-complementary
#663FC6 #C6A93F #5BC63F
monochromatic
#35206B #4D2E9A #663FC6 #8C6ED4 #B19DE2
Accessibility & contrast
On white
6.79
#663FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#663FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663FC6
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FC6 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#46617D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #663fc6; /* rgb */ color: rgb(102, 63, 198); /* oklch */ color: oklch(49.2% 0.198 290.5);
Tailwind
colors: {
custom: {
50: '#9a77d8',
500: '#663fc6',
950: '#000000',
},
}SCSS
$custom: #663fc6; $custom-light: #9a77d8; $custom-dark: #000000;
JSON
{
"hex": "#663fc6",
"rgb": {
"r": 102,
"g": 63,
"b": 198
},
"hsl": {
"h": 257.333,
"s": 54.217,
"l": 51.176
},
"oklch": {
"l": 0.49233,
"c": 0.19772,
"h": 290.5
},
"luminance": 0.10457
}Semantic roles & 50–950 ramp
primary
#663FC6
secondary
#BDCE93
accent
#DE4AB3
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83