#A052E1#A052E1

#A052E1 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.9% C 0.211 H 306.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A052E1
RGBrgb(160, 82, 225)
HSLhsl(273, 70%, 60%)
HSVhsv(273, 64%, 88%)
CMYKcmyk(28.9%, 63.6%, 0%, 11.8%)
CIE-LABlab(50.62, 57.39, -60.37)
CIE-LCHlch(50.62, 83.29, 313.55°)
OKLaboklab(59.92% 0.1245 -0.1709)
OKLCHoklch(59.92% 0.211 306.1)
XYZxyz(31.1022, 18.9447, 73.2378)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052E1 #93E152
analogous
#5852E1 #A052E1 #E152DB
triadic
#A052E1 #E1A052 #52E1A0
tetradic
#A052E1 #E15852 #93E152 #52DBE1
square
#A052E1 #E15852 #93E152 #52DBE1
split-complementary
#A052E1 #DBE152 #52E158
monochromatic
#621B9D #8324D1 #A052E1 #BD86EA #D9BAF3

Accessibility & contrast

On white

4.39
#A052E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A052E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052E1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052E1#FFFFFF#000000##000000
##A052E11.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#3079DE
Tritanopia (blue-blind)
#957092
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a052e1;
/* rgb */ color: rgb(160, 82, 225);
/* oklch */ color: oklch(59.9% 0.211 306.1);
Tailwind
colors: {
  custom: {
    50: '#c087eb',
    500: '#a052e1',
    950: '#000000',
  },
}
SCSS
$custom: #a052e1;
$custom-light: #c087eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a052e1",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 272.727,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59924,
    "c": 0.21146,
    "h": 306.1
  },
  "luminance": 0.18944
}

Semantic roles & 50–950 ramp

primary
#A052E1
secondary
#C5E3AC
accent
#D2136A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A052E1

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

Preview Lab → · Contrast checker → · Palette generator →

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