#663EB2#663EB2
#663EB2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.175 H 294.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #663EB2 |
|---|---|
| RGB | rgb(102, 62, 178) |
| HSL | hsl(261, 48%, 47%) |
| HSV | hsv(261, 65%, 70%) |
| CMYK | cmyk(42.7%, 65.2%, 0%, 30.2%) |
| CIE-LAB | lab(36.90, 43.59, -55.69) |
| CIE-LCH | lch(36.90, 70.72, 308.06°) |
| OKLab | oklab(47.49% 0.073 -0.159) |
| OKLCH | oklch(47.49% 0.175 294.7) |
| XYZ | xyz(15.2358, 9.4840, 43.1387) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.39
Ocean Blue
#4F42B5
ΔE00 4.40
Blue With A Hint Of Purple
#533CC6
ΔE00 4.41
Blurple
#5539CC
ΔE00 4.79
Rebeccapurple
#663399
ΔE00 4.87
Purple Blue
#5D21D0
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663EB2 #8AB23E
analogous
#3E50B2 #663EB2 #A03EB2
triadic
#663EB2 #B2663E #3EB266
tetradic
#663EB2 #B23E50 #8AB23E #3EB2A0
square
#663EB2 #B23E50 #8AB23E #3EB2A0
split-complementary
#663EB2 #B2A03E #50B23E
monochromatic
#321E57 #4C2E85 #663EB2 #8764C9 #AA92D9
Accessibility & contrast
On white
7.25
#663EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#663EB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663EB2
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663EB2 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#525972
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #663eb2; /* rgb */ color: rgb(102, 62, 178); /* oklch */ color: oklch(47.5% 0.175 294.7);
Tailwind
colors: {
custom: {
50: '#9776ca',
500: '#663eb2',
950: '#000000',
},
}SCSS
$custom: #663eb2; $custom-light: #9776ca; $custom-dark: #000000;
JSON
{
"hex": "#663eb2",
"rgb": {
"r": 102,
"g": 62,
"b": 178
},
"hsl": {
"h": 260.69,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.47489,
"c": 0.17497,
"h": 294.7
},
"luminance": 0.09484
}Semantic roles & 50–950 ramp
primary
#663EB2
secondary
#AFC488
accent
#D850A9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82