#663EB6#663EB6
#663EB6 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.8% C 0.180 H 293.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #663EB6 |
|---|---|
| RGB | rgb(102, 62, 182) |
| HSL | hsl(260, 49%, 48%) |
| HSV | hsv(260, 66%, 71%) |
| CMYK | cmyk(44%, 65.9%, 0%, 28.6%) |
| CIE-LAB | lab(37.20, 44.69, -57.56) |
| CIE-LCH | lch(37.20, 72.88, 307.83°) |
| OKLab | oklab(47.8% 0.0726 -0.1645) |
| OKLCH | oklch(47.8% 0.18 293.8) |
| XYZ | xyz(15.6433, 9.6470, 45.2847) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.80
Blue With A Hint Of Purple
#533CC6
ΔE00 3.96
Ocean Blue
#4F42B5
ΔE00 4.25
Blurple
#5539CC
ΔE00 4.27
Rebeccapurple
#663399
ΔE00 5.40
Burple
#6832E3
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663EB6 #8EB63E
analogous
#3E52B6 #663EB6 #A23EB6
triadic
#663EB6 #B6663E #3EB666
tetradic
#663EB6 #B63E52 #8EB63E #3EB6A2
square
#663EB6 #B63E52 #8EB63E #3EB6A2
split-complementary
#663EB6 #B6A23E #52B63E
monochromatic
#331F5B #4C2E88 #663EB6 #8866CB #AB94DB
Accessibility & contrast
On white
7.17
#663EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#663EB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663EB6
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663EB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663EB6 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#505B74
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #663eb6; /* rgb */ color: rgb(102, 62, 182); /* oklch */ color: oklch(47.8% 0.180 293.8);
Tailwind
colors: {
custom: {
50: '#9876cd',
500: '#663eb6',
950: '#000000',
},
}SCSS
$custom: #663eb6; $custom-light: #9876cd; $custom-dark: #000000;
JSON
{
"hex": "#663eb6",
"rgb": {
"r": 102,
"g": 62,
"b": 182
},
"hsl": {
"h": 260,
"s": 49.18,
"l": 47.843
},
"oklch": {
"l": 0.47801,
"c": 0.17982,
"h": 293.8
},
"luminance": 0.09647
}Semantic roles & 50–950 ramp
primary
#663EB6
secondary
#B2C68A
accent
#D94FAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0913
muted
#7E7B82