#A052E8#A052E8

#A052E8 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.4% C 0.219 H 304.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A052E8
RGBrgb(160, 82, 232)
HSLhsl(271, 77%, 62%)
HSVhsv(271, 65%, 91%)
CMYKcmyk(31%, 64.7%, 0%, 9%)
CIE-LABlab(51.08, 58.99, -63.59)
CIE-LCHlch(51.08, 86.74, 312.85°)
OKLaboklab(60.4% 0.124 -0.1804)
OKLCHoklch(60.4% 0.219 304.5)
XYZxyz(32.0767, 19.3345, 78.3704)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052E8 #9AE852
analogous
#5552E8 #A052E8 #E852E5
triadic
#A052E8 #E8A052 #52E8A0
tetradic
#A052E8 #E85552 #9AE852 #52E5E8
square
#A052E8 #E85552 #9AE852 #52E5E8
split-complementary
#A052E8 #E5E852 #52E855
monochromatic
#6316A9 #821EDF #A052E8 #BE88EF #DBBEF6

Accessibility & contrast

On white

4.31
#A052E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A052E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052E8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052E8#FFFFFF#000000##000000
##A052E81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#247AE5
Tritanopia (blue-blind)
#937396
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a052e8;
/* rgb */ color: rgb(160, 82, 232);
/* oklch */ color: oklch(60.4% 0.219 304.5);
Tailwind
colors: {
  custom: {
    50: '#c187f0',
    500: '#a052e8',
    950: '#000000',
  },
}
SCSS
$custom: #a052e8;
$custom-light: #c187f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a052e8",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 271.2,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60396,
    "c": 0.21888,
    "h": 304.5
  },
  "luminance": 0.19334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A052E8

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

Preview Lab → · Contrast checker → · Palette generator →

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