#A348E2#A348E2
#A348E2 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.1% C 0.226 H 308.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #A348E2 |
|---|---|
| RGB | rgb(163, 72, 226) |
| HSL | hsl(275, 73%, 58%) |
| HSV | hsv(275, 68%, 89%) |
| CMYK | cmyk(27.9%, 68.1%, 0%, 11.4%) |
| CIE-LAB | lab(49.39, 62.86, -62.90) |
| CIE-LCH | lch(49.39, 88.93, 314.98°) |
| OKLab | oklab(59.14% 0.1391 -0.1782) |
| OKLCH | oklch(59.14% 0.226 308) |
| XYZ | xyz(31.1462, 17.9127, 73.7535) |
| Luminance | 0.1791 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.34
Electric Purple
#AA23FF
ΔE00 4.88
Lighter Purple
#A55AF4
ΔE00 5.01
Neon Purple
#BC13FE
ΔE00 5.40
Purpley
#8756E4
ΔE00 5.44
Bright Violet
#AD0AFD
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A348E2 #87E248
analogous
#5648E2 #A348E2 #E248D4
triadic
#A348E2 #E2A348 #48E2A3
tetradic
#A348E2 #E25648 #87E248 #48D4E2
square
#A348E2 #E25648 #87E248 #48D4E2
split-complementary
#A348E2 #D4E248 #48E256
monochromatic
#631898 #8620CC #A348E2 #BE7DEA #D8B2F3
Accessibility & contrast
On white
4.58
#A348E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#A348E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A348E2
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A348E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A348E2 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#2376DF
Tritanopia (blue-blind)
#996A90
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a348e2; /* rgb */ color: rgb(163, 72, 226); /* oklch */ color: oklch(59.1% 0.226 308.0);
Tailwind
colors: {
custom: {
50: '#c382ec',
500: '#a348e2',
950: '#000000',
},
}SCSS
$custom: #a348e2; $custom-light: #c382ec; $custom-dark: #000000;
JSON
{
"hex": "#a348e2",
"rgb": {
"r": 163,
"g": 72,
"b": 226
},
"hsl": {
"h": 275.455,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.59141,
"c": 0.2261,
"h": 308
},
"luminance": 0.17912
}Semantic roles & 50–950 ramp
primary
#A348E2
secondary
#BDE1A4
accent
#EF3883
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84