#663FBA#663FBA
#663FBA is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.183 H 292.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #663FBA |
|---|---|
| RGB | rgb(102, 63, 186) |
| HSL | hsl(259, 49%, 49%) |
| HSV | hsv(259, 66%, 73%) |
| CMYK | cmyk(45.2%, 66.1%, 0%, 27.1%) |
| CIE-LAB | lab(37.71, 45.26, -59.10) |
| CIE-LCH | lch(37.71, 74.44, 307.44°) |
| OKLab | oklab(48.26% 0.071 -0.169) |
| OKLCH | oklch(48.26% 0.183 292.8) |
| XYZ | xyz(16.1175, 9.9245, 47.5113) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.16
Blue With A Hint Of Purple
#533CC6
ΔE00 3.60
Blurple
#5539CC
ΔE00 3.88
Ocean Blue
#4F42B5
ΔE00 4.14
Burple
#6832E3
ΔE00 5.64
Rebeccapurple
#663399
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FBA #93BA3F
analogous
#3F56BA #663FBA #A43FBA
triadic
#663FBA #BA663F #3FBA66
tetradic
#663FBA #BA3F56 #93BA3F #3FBAA4
square
#663FBA #BA3F56 #93BA3F #3FBAA4
split-complementary
#663FBA #BAA43F #56BA3F
monochromatic
#34205F #4D308C #663FBA #896ACC #AD97DC
Accessibility & contrast
On white
7.04
#663FBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#663FBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663FBA
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FBA | 1.00 | 7.04 | 2.99 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#4E5D77
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #663fba; /* rgb */ color: rgb(102, 63, 186); /* oklch */ color: oklch(48.3% 0.183 292.8);
Tailwind
colors: {
custom: {
50: '#9876d0',
500: '#663fba',
950: '#000000',
},
}SCSS
$custom: #663fba; $custom-light: #9876d0; $custom-dark: #000000;
JSON
{
"hex": "#663fba",
"rgb": {
"r": 102,
"g": 63,
"b": 186
},
"hsl": {
"h": 259.024,
"s": 49.398,
"l": 48.824
},
"oklch": {
"l": 0.48261,
"c": 0.18336,
"h": 292.8
},
"luminance": 0.09925
}Semantic roles & 50–950 ramp
primary
#663FBA
secondary
#B5C88D
accent
#D94FAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82