#663EB3#663EB3
#663EB3 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.176 H 294.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #663EB3 |
|---|---|
| RGB | rgb(102, 62, 179) |
| HSL | hsl(261, 49%, 47%) |
| HSV | hsv(261, 65%, 70%) |
| CMYK | cmyk(43%, 65.4%, 0%, 29.8%) |
| CIE-LAB | lab(36.97, 43.87, -56.16) |
| CIE-LCH | lch(36.97, 71.26, 308.00°) |
| OKLab | oklab(47.57% 0.0729 -0.1604) |
| OKLCH | oklch(47.57% 0.176 294.5) |
| XYZ | xyz(15.3366, 9.5243, 43.6694) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.24
Blue With A Hint Of Purple
#533CC6
ΔE00 4.29
Ocean Blue
#4F42B5
ΔE00 4.35
Blurple
#5539CC
ΔE00 4.65
Rebeccapurple
#663399
ΔE00 5.00
Purple Blue
#5D21D0
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663EB3 #8BB33E
analogous
#3E50B3 #663EB3 #A13EB3
triadic
#663EB3 #B3663E #3EB366
tetradic
#663EB3 #B33E50 #8BB33E #3EB3A1
square
#663EB3 #B33E50 #8BB33E #3EB3A1
split-complementary
#663EB3 #B3A13E #50B33E
monochromatic
#321F58 #4C2E86 #663EB3 #8765CA #AA92D9
Accessibility & contrast
On white
7.23
#663EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#663EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663EB3
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663EB3 | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#515973
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #663eb3; /* rgb */ color: rgb(102, 62, 179); /* oklch */ color: oklch(47.6% 0.176 294.5);
Tailwind
colors: {
custom: {
50: '#9876cb',
500: '#663eb3',
950: '#000000',
},
}SCSS
$custom: #663eb3; $custom-light: #9876cb; $custom-dark: #000000;
JSON
{
"hex": "#663eb3",
"rgb": {
"r": 102,
"g": 62,
"b": 179
},
"hsl": {
"h": 260.513,
"s": 48.548,
"l": 47.255
},
"oklch": {
"l": 0.47567,
"c": 0.17618,
"h": 294.5
},
"luminance": 0.09525
}Semantic roles & 50–950 ramp
primary
#663EB3
secondary
#B0C588
accent
#D850A9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82