#A152E9#A152E9

#A152E9 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.6% C 0.220 H 304.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A152E9
RGBrgb(161, 82, 233)
HSLhsl(271, 77%, 62%)
HSVhsv(271, 65%, 91%)
CMYKcmyk(30.9%, 64.8%, 0%, 8.6%)
CIE-LABlab(51.26, 59.43, -63.85)
CIE-LCHlch(51.26, 87.23, 312.95°)
OKLaboklab(60.58% 0.1252 -0.1811)
OKLCHoklch(60.58% 0.22 304.7)
XYZxyz(32.4199, 19.4950, 79.1300)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152E9 #9AE952
analogous
#5652E9 #A152E9 #E952E5
triadic
#A152E9 #E9A152 #52E9A1
tetradic
#A152E9 #E95652 #9AE952 #52E5E9
square
#A152E9 #E95652 #9AE952 #52E5E9
split-complementary
#A152E9 #E5E952 #52E956
monochromatic
#6416AB #831DE1 #A152E9 #BF88F0 #DCBFF7

Accessibility & contrast

On white

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

On black

4.90
#A152E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152E9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152E9#FFFFFF#000000##000000
##A152E91.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a152e9;
/* rgb */ color: rgb(161, 82, 233);
/* oklch */ color: oklch(60.6% 0.220 304.7);
Tailwind
colors: {
  custom: {
    50: '#c287f1',
    500: '#a152e9',
    950: '#000000',
  },
}
SCSS
$custom: #a152e9;
$custom-light: #c287f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a152e9",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 271.391,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60576,
    "c": 0.22016,
    "h": 304.7
  },
  "luminance": 0.19495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A152E9

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

Preview Lab → · Contrast checker → · Palette generator →

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