#A052E0#A052E0

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

Color values

HEX#A052E0
RGBrgb(160, 82, 224)
HSLhsl(273, 70%, 60%)
HSVhsv(273, 63%, 88%)
CMYKcmyk(28.6%, 63.4%, 0%, 12.2%)
CIE-LABlab(50.56, 57.16, -59.91)
CIE-LCHlch(50.56, 82.80, 313.66°)
OKLaboklab(59.86% 0.1246 -0.1695)
OKLCHoklch(59.86% 0.21 306.3)
XYZxyz(30.9662, 18.8903, 72.5214)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A052E0 #92E052
analogous
#5952E0 #A052E0 #E052D9
triadic
#A052E0 #E0A052 #52E0A0
tetradic
#A052E0 #E05952 #92E052 #52D9E0
square
#A052E0 #E05952 #92E052 #52D9E0
split-complementary
#A052E0 #D9E052 #52E059
monochromatic
#621C9C #8325D0 #A052E0 #BD86E9 #D9BAF3

Accessibility & contrast

On white

4.40
#A052E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A052E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A052E0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A052E0#FFFFFF#000000##000000
##A052E01.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E4
Deuteranopia (green-blind)
#3279DD
Tritanopia (blue-blind)
#957092
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a052e0;
/* rgb */ color: rgb(160, 82, 224);
/* oklch */ color: oklch(59.9% 0.210 306.3);
Tailwind
colors: {
  custom: {
    50: '#c087ea',
    500: '#a052e0',
    950: '#000000',
  },
}
SCSS
$custom: #a052e0;
$custom-light: #c087ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a052e0",
  "rgb": {
    "r": 160,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 272.958,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.59858,
    "c": 0.2104,
    "h": 306.3
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

primary
#A052E0
secondary
#C4E2AC
accent
#EC3B8B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A052E0

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

Preview Lab → · Contrast checker → · Palette generator →

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