#663FB7#663FB7
#663FB7 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.0% C 0.180 H 293.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #663FB7 |
|---|---|
| RGB | rgb(102, 63, 183) |
| HSL | hsl(260, 49%, 48%) |
| HSV | hsv(260, 66%, 72%) |
| CMYK | cmyk(44.3%, 65.6%, 0%, 28.2%) |
| CIE-LAB | lab(37.48, 44.43, -57.70) |
| CIE-LCH | lch(37.48, 72.82, 307.59°) |
| OKLab | oklab(48.03% 0.0714 -0.1649) |
| OKLCH | oklch(48.03% 0.18 293.4) |
| XYZ | xyz(15.8019, 9.7982, 45.8492) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.59
Blue With A Hint Of Purple
#533CC6
ΔE00 3.88
Ocean Blue
#4F42B5
ΔE00 4.16
Blurple
#5539CC
ΔE00 4.22
Rebeccapurple
#663399
ΔE00 5.66
Burple
#6832E3
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663FB7 #90B73F
analogous
#3F54B7 #663FB7 #A23FB7
triadic
#663FB7 #B7663F #3FB766
tetradic
#663FB7 #B73F54 #90B73F #3FB7A2
square
#663FB7 #B73F54 #90B73F #3FB7A2
split-complementary
#663FB7 #B7A23F #54B73F
monochromatic
#33205C #4D2F89 #663FB7 #8868CB #AC96DB
Accessibility & contrast
On white
7.10
#663FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#663FB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #663FB7
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663FB7 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#4F5B75
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #663fb7; /* rgb */ color: rgb(102, 63, 183); /* oklch */ color: oklch(48.0% 0.180 293.4);
Tailwind
colors: {
custom: {
50: '#9876cd',
500: '#663fb7',
950: '#000000',
},
}SCSS
$custom: #663fb7; $custom-light: #9876cd; $custom-dark: #000000;
JSON
{
"hex": "#663fb7",
"rgb": {
"r": 102,
"g": 63,
"b": 183
},
"hsl": {
"h": 259.5,
"s": 48.78,
"l": 48.235
},
"oklch": {
"l": 0.48025,
"c": 0.17972,
"h": 293.4
},
"luminance": 0.09799
}Semantic roles & 50–950 ramp
primary
#663FB7
secondary
#B3C68B
accent
#D84FAC
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82