#A348E1#A348E1
#A348E1 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.1% C 0.225 H 308.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A348E1 |
|---|---|
| RGB | rgb(163, 72, 225) |
| HSL | hsl(276, 72%, 58%) |
| HSV | hsv(276, 68%, 88%) |
| CMYK | cmyk(27.6%, 68%, 0%, 11.8%) |
| CIE-LAB | lab(49.32, 62.64, -62.45) |
| CIE-LCH | lch(49.32, 88.45, 315.09°) |
| OKLab | oklab(59.07% 0.1393 -0.1769) |
| OKLCH | oklch(59.07% 0.225 308.2) |
| XYZ | xyz(31.0094, 17.8580, 73.0329) |
| Luminance | 0.1786 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.41
Electric Purple
#AA23FF
ΔE00 4.96
Lighter Purple
#A55AF4
ΔE00 5.11
Neon Purple
#BC13FE
ΔE00 5.46
Purpley
#8756E4
ΔE00 5.50
Bright Violet
#AD0AFD
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A348E1 #86E148
analogous
#5648E1 #A348E1 #E148D3
triadic
#A348E1 #E1A348 #48E1A3
tetradic
#A348E1 #E15648 #86E148 #48D3E1
square
#A348E1 #E15648 #86E148 #48D3E1
split-complementary
#A348E1 #D3E148 #48E156
monochromatic
#631996 #8621CB #A348E1 #BD7DEA #D8B1F2
Accessibility & contrast
On white
4.59
#A348E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#A348E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A348E1
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A348E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A348E1 | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#2576DE
Tritanopia (blue-blind)
#996A8F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a348e1; /* rgb */ color: rgb(163, 72, 225); /* oklch */ color: oklch(59.1% 0.225 308.2);
Tailwind
colors: {
custom: {
50: '#c382eb',
500: '#a348e1',
950: '#000000',
},
}SCSS
$custom: #a348e1; $custom-light: #c382eb; $custom-dark: #000000;
JSON
{
"hex": "#a348e1",
"rgb": {
"r": 163,
"g": 72,
"b": 225
},
"hsl": {
"h": 275.686,
"s": 71.831,
"l": 58.235
},
"oklch": {
"l": 0.59072,
"c": 0.22511,
"h": 308.2
},
"luminance": 0.17858
}Semantic roles & 50–950 ramp
primary
#A348E1
secondary
#BDE1A4
accent
#EF3983
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84