#663FBC#663FBC
#663FBC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.186 H 292.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #663FBC |
|---|---|
| RGB | rgb(102, 63, 188) |
| HSL | hsl(259, 50%, 49%) |
| HSV | hsv(259, 66%, 74%) |
| CMYK | cmyk(45.7%, 66.5%, 0%, 26.3%) |
| CIE-LAB | lab(37.86, 45.81, -60.02) |
| CIE-LCH | lch(37.86, 75.51, 307.35°) |
| OKLab | oklab(48.42% 0.0708 -0.1718) |
| OKLCH | oklch(48.42% 0.186 292.4) |
| XYZ | xyz(16.3316, 10.0101, 48.6389) |
| Luminance | 0.1001 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.88
Blue With A Hint Of Purple
#533CC6
ΔE00 3.43
Blurple
#5539CC
ΔE00 3.68
Ocean Blue
#4F42B5
ΔE00 4.15
Burple
#6832E3
ΔE00 5.37
Purpley Blue
#5F34E7
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FBC #95BC3F
analogous
#3F57BC #663FBC #A53FBC
triadic
#663FBC #BC663F #3FBC66
tetradic
#663FBC #BC3F57 #95BC3F #3FBCA5
square
#663FBC #BC3F57 #95BC3F #3FBCA5
split-complementary
#663FBC #BCA53F #57BC3F
monochromatic
#342060 #4D308E #663FBC #8A6BCD #AE99DD
Accessibility & contrast
On white
6.99
#663FBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#663FBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663FBC
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FBC | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#4C5D78
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #663fbc; /* rgb */ color: rgb(102, 63, 188); /* oklch */ color: oklch(48.4% 0.186 292.4);
Tailwind
colors: {
custom: {
50: '#9977d1',
500: '#663fbc',
950: '#000000',
},
}SCSS
$custom: #663fbc; $custom-light: #9977d1; $custom-dark: #000000;
JSON
{
"hex": "#663fbc",
"rgb": {
"r": 102,
"g": 63,
"b": 188
},
"hsl": {
"h": 258.72,
"s": 49.801,
"l": 49.216
},
"oklch": {
"l": 0.4842,
"c": 0.18577,
"h": 292.4
},
"luminance": 0.10011
}Semantic roles & 50–950 ramp
primary
#663FBC
secondary
#B6C98E
accent
#D94EAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82