#663FBB#663FBB
#663FBB is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.185 H 292.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #663FBB |
|---|---|
| RGB | rgb(102, 63, 187) |
| HSL | hsl(259, 50%, 49%) |
| HSV | hsv(259, 66%, 73%) |
| CMYK | cmyk(45.5%, 66.3%, 0%, 26.7%) |
| CIE-LAB | lab(37.78, 45.54, -59.56) |
| CIE-LCH | lch(37.78, 74.97, 307.40°) |
| OKLab | oklab(48.34% 0.0709 -0.1704) |
| OKLCH | oklch(48.34% 0.185 292.6) |
| XYZ | xyz(16.2242, 9.9671, 48.0731) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.02
Blue With A Hint Of Purple
#533CC6
ΔE00 3.51
Blurple
#5539CC
ΔE00 3.78
Ocean Blue
#4F42B5
ΔE00 4.14
Burple
#6832E3
ΔE00 5.51
Purpley Blue
#5F34E7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FBB #94BB3F
analogous
#3F56BB #663FBB #A43FBB
triadic
#663FBB #BB663F #3FBB66
tetradic
#663FBB #BB3F56 #94BB3F #3FBBA4
square
#663FBB #BB3F56 #94BB3F #3FBBA4
split-complementary
#663FBB #BBA43F #56BB3F
monochromatic
#34205F #4D308D #663FBB #896ACD #AE98DC
Accessibility & contrast
On white
7.01
#663FBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#663FBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663FBB
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FBB | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#4D5D77
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #663fbb; /* rgb */ color: rgb(102, 63, 187); /* oklch */ color: oklch(48.3% 0.185 292.6);
Tailwind
colors: {
custom: {
50: '#9876d0',
500: '#663fbb',
950: '#000000',
},
}SCSS
$custom: #663fbb; $custom-light: #9876d0; $custom-dark: #000000;
JSON
{
"hex": "#663fbb",
"rgb": {
"r": 102,
"g": 63,
"b": 187
},
"hsl": {
"h": 258.871,
"s": 49.6,
"l": 49.02
},
"oklch": {
"l": 0.48341,
"c": 0.18457,
"h": 292.6
},
"luminance": 0.09968
}Semantic roles & 50–950 ramp
primary
#663FBB
secondary
#B6C88E
accent
#D94FAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82