#A152E8#A152E8

#A152E8 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.219 H 304.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A152E8
RGBrgb(161, 82, 232)
HSLhsl(272, 77%, 62%)
HSVhsv(272, 65%, 91%)
CMYKcmyk(30.6%, 64.7%, 0%, 9%)
CIE-LABlab(51.20, 59.20, -63.39)
CIE-LCHlch(51.20, 86.74, 313.04°)
OKLaboklab(60.51% 0.1253 -0.1797)
OKLCHoklch(60.51% 0.219 304.9)
XYZxyz(32.2775, 19.4380, 78.3798)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152E8 #99E852
analogous
#5652E8 #A152E8 #E852E4
triadic
#A152E8 #E8A152 #52E8A1
tetradic
#A152E8 #E85652 #99E852 #52E4E8
square
#A152E8 #E85652 #99E852 #52E4E8
split-complementary
#A152E8 #E4E852 #52E856
monochromatic
#6416A9 #841EDF #A152E8 #BE88EF #DCBEF6

Accessibility & contrast

On white

4.30
#A152E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A152E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152E8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152E8#FFFFFF#000000##000000
##A152E81.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a152e8;
/* rgb */ color: rgb(161, 82, 232);
/* oklch */ color: oklch(60.5% 0.219 304.9);
Tailwind
colors: {
  custom: {
    50: '#c287f0',
    500: '#a152e8',
    950: '#000000',
  },
}
SCSS
$custom: #a152e8;
$custom-light: #c287f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a152e8",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 271.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60508,
    "c": 0.21911,
    "h": 304.9
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

primary
#A152E8
secondary
#C9E7AF
accent
#D90D6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A152E8

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

Preview Lab → · Contrast checker → · Palette generator →

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