#A152E1#A152E1

#A152E1 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.0% C 0.212 H 306.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A152E1
RGBrgb(161, 82, 225)
HSLhsl(273, 70%, 60%)
HSVhsv(273, 64%, 88%)
CMYKcmyk(28.4%, 63.6%, 0%, 11.8%)
CIE-LABlab(50.74, 57.60, -60.17)
CIE-LCHlch(50.74, 83.30, 313.75°)
OKLaboklab(60.04% 0.1258 -0.1703)
OKLCHoklch(60.04% 0.212 306.5)
XYZxyz(31.3029, 19.0482, 73.2472)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152E1 #92E152
analogous
#5A52E1 #A152E1 #E152D9
triadic
#A152E1 #E1A152 #52E1A1
tetradic
#A152E1 #E15A52 #92E152 #52D9E1
square
#A152E1 #E15A52 #92E152 #52D9E1
split-complementary
#A152E1 #D9E152 #52E15A
monochromatic
#631B9D #8424D1 #A152E1 #BD86EA #DABAF3

Accessibility & contrast

On white

4.37
#A152E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A152E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152E1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152E1#FFFFFF#000000##000000
##A152E11.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#3279DE
Tritanopia (blue-blind)
#967092
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a152e1;
/* rgb */ color: rgb(161, 82, 225);
/* oklch */ color: oklch(60.0% 0.212 306.5);
Tailwind
colors: {
  custom: {
    50: '#c187eb',
    500: '#a152e1',
    950: '#000000',
  },
}
SCSS
$custom: #a152e1;
$custom-light: #c187eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a152e1",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 273.147,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60038,
    "c": 0.21172,
    "h": 306.5
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A152E1

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

Preview Lab → · Contrast checker → · Palette generator →

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