#663FB2#663FB2
#663FB2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.174 H 294.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #663FB2 |
|---|---|
| RGB | rgb(102, 63, 178) |
| HSL | hsl(260, 48%, 47%) |
| HSV | hsv(260, 65%, 70%) |
| CMYK | cmyk(42.7%, 64.6%, 0%, 30.2%) |
| CIE-LAB | lab(37.10, 43.04, -55.36) |
| CIE-LCH | lch(37.10, 70.12, 307.87°) |
| OKLab | oklab(47.64% 0.0719 -0.158) |
| OKLCH | oklch(47.64% 0.174 294.5) |
| XYZ | xyz(15.2907, 9.5938, 43.1570) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.33
Ocean Blue
#4F42B5
ΔE00 4.33
Blue With A Hint Of Purple
#533CC6
ΔE00 4.44
Blurple
#5539CC
ΔE00 4.84
Rebeccapurple
#663399
ΔE00 5.01
Royal Purple
#7851A9
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FB2 #8BB23F
analogous
#3F51B2 #663FB2 #A03FB2
triadic
#663FB2 #B2663F #3FB266
tetradic
#663FB2 #B23F51 #8BB23F #3FB2A0
square
#663FB2 #B23F51 #8BB23F #3FB2A0
split-complementary
#663FB2 #B2A03F #51B23F
monochromatic
#321F58 #4C2F85 #663FB2 #8766C9 #AA93D9
Accessibility & contrast
On white
7.19
#663FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#663FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663FB2
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FB2 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#525A73
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #663fb2; /* rgb */ color: rgb(102, 63, 178); /* oklch */ color: oklch(47.6% 0.174 294.5);
Tailwind
colors: {
custom: {
50: '#9776ca',
500: '#663fb2',
950: '#000000',
},
}SCSS
$custom: #663fb2; $custom-light: #9776ca; $custom-dark: #000000;
JSON
{
"hex": "#663fb2",
"rgb": {
"r": 102,
"g": 63,
"b": 178
},
"hsl": {
"h": 260.348,
"s": 47.718,
"l": 47.255
},
"oklch": {
"l": 0.47636,
"c": 0.17363,
"h": 294.5
},
"luminance": 0.09594
}Semantic roles & 50–950 ramp
primary
#663FB2
secondary
#B0C489
accent
#D750AA
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82