#A352EB#A352EB

#A352EB is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.9% C 0.223 H 305.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A352EB
RGBrgb(163, 82, 235)
HSLhsl(272, 79%, 62%)
HSVhsv(272, 65%, 92%)
CMYKcmyk(30.6%, 65.1%, 0%, 7.8%)
CIE-LABlab(51.63, 60.30, -64.36)
CIE-LCHlch(51.63, 88.20, 313.14°)
OKLaboklab(60.94% 0.1276 -0.1825)
OKLCHoklch(60.94% 0.223 305)
XYZxyz(33.1136, 19.8195, 80.6622)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A352EB #9AEB52
analogous
#5752EB #A352EB #EB52E6
triadic
#A352EB #EBA352 #52EBA3
tetradic
#A352EB #EB5752 #9AEB52 #52E6EB
square
#A352EB #EB5752 #9AEB52 #52E6EB
split-complementary
#A352EB #E6EB52 #52EB57
monochromatic
#6614AE #861BE5 #A352EB #C089F1 #DDC0F8

Accessibility & contrast

On white

4.23
#A352EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A352EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A352EB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A352EB#FFFFFF#000000##000000
##A352EB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#247BE8
Tritanopia (blue-blind)
#967398
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a352eb;
/* rgb */ color: rgb(163, 82, 235);
/* oklch */ color: oklch(60.9% 0.223 305.0);
Tailwind
colors: {
  custom: {
    50: '#c388f2',
    500: '#a352eb',
    950: '#000000',
  },
}
SCSS
$custom: #a352eb;
$custom-light: #c388f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a352eb",
  "rgb": {
    "r": 163,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 271.765,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60937,
    "c": 0.22272,
    "h": 305
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#A352EB
secondary
#CBE8B0
accent
#DC0A6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A352EB

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

Preview Lab → · Contrast checker → · Palette generator →

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