#A052E9#A052E9

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

Color values

HEX#A052E9
RGBrgb(160, 82, 233)
HSLhsl(271, 77%, 62%)
HSVhsv(271, 65%, 91%)
CMYKcmyk(31.3%, 64.8%, 0%, 8.6%)
CIE-LABlab(51.14, 59.22, -64.04)
CIE-LCHlch(51.14, 87.23, 312.76°)
OKLaboklab(60.46% 0.1239 -0.1817)
OKLCHoklch(60.46% 0.22 304.3)
XYZxyz(32.2192, 19.3915, 79.1206)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052E9 #9BE952
analogous
#5552E9 #A052E9 #E952E7
triadic
#A052E9 #E9A052 #52E9A0
tetradic
#A052E9 #E95552 #9BE952 #52E7E9
square
#A052E9 #E95552 #9BE952 #52E7E9
split-complementary
#A052E9 #E7E952 #52E955
monochromatic
#6316AB #821DE1 #A052E9 #BE88F0 #DCBFF7

Accessibility & contrast

On white

4.30
#A052E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A052E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052E9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052E9#FFFFFF#000000##000000
##A052E91.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#227AE6
Tritanopia (blue-blind)
#927397
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a052e9;
/* rgb */ color: rgb(160, 82, 233);
/* oklch */ color: oklch(60.5% 0.220 304.3);
Tailwind
colors: {
  custom: {
    50: '#c187f1',
    500: '#a052e9',
    950: '#000000',
  },
}
SCSS
$custom: #a052e9;
$custom-light: #c187f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a052e9",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 270.993,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60464,
    "c": 0.21994,
    "h": 304.3
  },
  "luminance": 0.19391
}

Semantic roles & 50–950 ramp

primary
#A052E9
secondary
#CAE7AF
accent
#DA0C6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A052E9

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

Preview Lab → · Contrast checker → · Palette generator →

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