#663AE3#663AE3
#663AE3 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.236 H 286.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #663AE3 |
|---|---|
| RGB | rgb(102, 58, 227) |
| HSL | hsl(256, 75%, 56%) |
| HSV | hsv(256, 74%, 89%) |
| CMYK | cmyk(55.1%, 74.4%, 0%, 11%) |
| CIE-LAB | lab(40.24, 59.16, -78.69) |
| CIE-LCH | lch(40.24, 98.44, 306.94°) |
| OKLab | oklab(51.12% 0.0674 -0.2265) |
| OKLCH | oklch(51.12% 0.236 286.6) |
| XYZ | xyz(20.8535, 11.3958, 73.7589) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Burple
#6832E3
ΔE00 1.45
Purpley Blue
#5F34E7
ΔE00 1.46
Bluish Purple
#703BE7
ΔE00 1.61
Purpleish Blue
#6140EF
ΔE00 2.18
Bluey Purple
#6241C7
ΔE00 3.77
Blurple
#5539CC
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#663AE3 #B7E33A
analogous
#3A62E3 #663AE3 #BA3AE3
triadic
#663AE3 #E3663A #3AE366
tetradic
#663AE3 #E33A62 #B7E33A #3AE3BA
square
#663AE3 #E33A62 #B7E33A #3AE3BA
split-complementary
#663AE3 #E3BA3A #62E33A
monochromatic
#34148E #481CC4 #663AE3 #9070EB #B9A5F2
Accessibility & contrast
On white
6.40
#663AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#663AE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #663AE3
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##663AE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##663AE3 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063E8
Deuteranopia (green-blind)
#005AE0
Tritanopia (blue-blind)
#2D698C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #663ae3; /* rgb */ color: rgb(102, 58, 227); /* oklch */ color: oklch(51.1% 0.236 286.6);
Tailwind
colors: {
custom: {
50: '#9e75ed',
500: '#663ae3',
950: '#000000',
},
}SCSS
$custom: #663ae3; $custom-light: #9e75ed; $custom-dark: #000000;
JSON
{
"hex": "#663ae3",
"rgb": {
"r": 102,
"g": 58,
"b": 227
},
"hsl": {
"h": 255.621,
"s": 75.111,
"l": 55.882
},
"oklch": {
"l": 0.51123,
"c": 0.2363,
"h": 286.6
},
"luminance": 0.11397
}Semantic roles & 50–950 ramp
primary
#663AE3
secondary
#CDDF99
accent
#F236C1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84