#A152EA#A152EA

#A152EA is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.221 H 304.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A152EA
RGBrgb(161, 82, 234)
HSLhsl(271, 78%, 62%)
HSVhsv(271, 65%, 92%)
CMYKcmyk(31.2%, 65%, 0%, 8.2%)
CIE-LABlab(51.33, 59.66, -64.30)
CIE-LCHlch(51.33, 87.72, 312.86°)
OKLaboklab(60.65% 0.1251 -0.1824)
OKLCHoklch(60.65% 0.221 304.4)
XYZxyz(32.5632, 19.5523, 79.8844)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152EA #9BEA52
analogous
#5552EA #A152EA #EA52E7
triadic
#A152EA #EAA152 #52EAA1
tetradic
#A152EA #EA5552 #9BEA52 #52E7EA
square
#A152EA #EA5552 #9BEA52 #52E7EA
split-complementary
#A152EA #E7EA52 #52EA55
monochromatic
#6415AD #831CE3 #A152EA #BF89F1 #DCBFF7

Accessibility & contrast

On white

4.28
#A152EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A152EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152EA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152EA#FFFFFF#000000##000000
##A152EA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#227AE7
Tritanopia (blue-blind)
#937397
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a152ea;
/* rgb */ color: rgb(161, 82, 234);
/* oklch */ color: oklch(60.6% 0.221 304.4);
Tailwind
colors: {
  custom: {
    50: '#c287f2',
    500: '#a152ea',
    950: '#000000',
  },
}
SCSS
$custom: #a152ea;
$custom-light: #c287f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a152ea",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 271.184,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60645,
    "c": 0.22122,
    "h": 304.4
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

primary
#A152EA
secondary
#CBE8B0
accent
#DB0B6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A152EA

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

Preview Lab → · Contrast checker → · Palette generator →

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