#A052EA#A052EA

#A052EA is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.221 H 304.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A052EA
RGBrgb(160, 82, 234)
HSLhsl(271, 78%, 62%)
HSVhsv(271, 65%, 92%)
CMYKcmyk(31.6%, 65%, 0%, 8.2%)
CIE-LABlab(51.21, 59.45, -64.50)
CIE-LCHlch(51.21, 87.72, 312.67°)
OKLaboklab(60.53% 0.1238 -0.183)
OKLCHoklch(60.53% 0.221 304.1)
XYZxyz(32.3624, 19.4488, 79.8750)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052EA #9CEA52
analogous
#5452EA #A052EA #EA52E8
triadic
#A052EA #EAA052 #52EAA0
tetradic
#A052EA #EA5452 #9CEA52 #52E8EA
square
#A052EA #EA5452 #9CEA52 #52E8EA
split-complementary
#A052EA #E8EA52 #52EA54
monochromatic
#6315AD #821CE3 #A052EA #BE89F1 #DCBFF7

Accessibility & contrast

On white

4.29
#A052EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A052EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052EA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052EA#FFFFFF#000000##000000
##A052EA1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#207AE7
Tritanopia (blue-blind)
#927397
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a052ea;
/* rgb */ color: rgb(160, 82, 234);
/* oklch */ color: oklch(60.5% 0.221 304.1);
Tailwind
colors: {
  custom: {
    50: '#c187f2',
    500: '#a052ea',
    950: '#000000',
  },
}
SCSS
$custom: #a052ea;
$custom-light: #c187f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a052ea",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 270.789,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60533,
    "c": 0.22099,
    "h": 304.1
  },
  "luminance": 0.19449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A052EA

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

Preview Lab → · Contrast checker → · Palette generator →

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