#A352E2#A352E2

#A352E2 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.213 H 307.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A352E2
RGBrgb(163, 82, 226)
HSLhsl(274, 71%, 60%)
HSVhsv(274, 64%, 89%)
CMYKcmyk(27.9%, 63.7%, 0%, 11.4%)
CIE-LABlab(51.05, 58.26, -60.23)
CIE-LCHlch(51.05, 83.80, 314.05°)
OKLaboklab(60.33% 0.1283 -0.1704)
OKLCHoklch(60.33% 0.213 307)
XYZxyz(31.8461, 19.3125, 73.9868)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A352E2 #91E252
analogous
#5B52E2 #A352E2 #E252D9
triadic
#A352E2 #E2A352 #52E2A3
tetradic
#A352E2 #E25B52 #91E252 #52D9E2
square
#A352E2 #E25B52 #91E252 #52D9E2
split-complementary
#A352E2 #D9E252 #52E25B
monochromatic
#651B9F #8623D3 #A352E2 #BF86EB #DBBBF4

Accessibility & contrast

On white

4.32
#A352E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A352E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A352E2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A352E2#FFFFFF#000000##000000
##A352E21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#347ADF
Tritanopia (blue-blind)
#997093
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a352e2;
/* rgb */ color: rgb(163, 82, 226);
/* oklch */ color: oklch(60.3% 0.213 307.0);
Tailwind
colors: {
  custom: {
    50: '#c287ec',
    500: '#a352e2',
    950: '#000000',
  },
}
SCSS
$custom: #a352e2;
$custom-light: #c287ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a352e2",
  "rgb": {
    "r": 163,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 273.75,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60333,
    "c": 0.21331,
    "h": 307
  },
  "luminance": 0.19312
}

Semantic roles & 50–950 ramp

primary
#A352E2
secondary
#C4E3AC
accent
#D31267
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A352E2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A352E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva