#A152D8#A152D8

#A152D8 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.202 H 308.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A152D8
RGBrgb(161, 82, 216)
HSLhsl(275, 63%, 58%)
HSVhsv(275, 62%, 85%)
CMYKcmyk(25.5%, 62%, 0%, 15.3%)
CIE-LABlab(50.18, 55.58, -55.97)
CIE-LCHlch(50.18, 78.87, 314.80°)
OKLaboklab(59.45% 0.1263 -0.158)
OKLCHoklch(59.45% 0.202 308.6)
XYZxyz(30.1074, 18.5700, 66.9507)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152D8 #89D852
analogous
#5E52D8 #A152D8 #D852CC
triadic
#A152D8 #D8A152 #52D8A1
tetradic
#A152D8 #D85E52 #89D852 #52CCD8
square
#A152D8 #D85E52 #89D852 #52CCD8
split-complementary
#A152D8 #CCD852 #52D85E
monochromatic
#62208F #842CC1 #A152D8 #BC84E3 #D7B6EF

Accessibility & contrast

On white

4.45
#A152D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A152D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152D8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152D8#FFFFFF#000000##000000
##A152D81.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0874DC
Deuteranopia (green-blind)
#3D78D5
Tritanopia (blue-blind)
#996D8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a152d8;
/* rgb */ color: rgb(161, 82, 216);
/* oklch */ color: oklch(59.5% 0.202 308.6);
Tailwind
colors: {
  custom: {
    50: '#c187e5',
    500: '#a152d8',
    950: '#000000',
  },
}
SCSS
$custom: #a152d8;
$custom-light: #c187e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a152d8",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 275.373,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59451,
    "c": 0.20222,
    "h": 308.6
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

primary
#A152D8
secondary
#BEDDA8
accent
#E64285
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A152D8

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

Preview Lab → · Contrast checker → · Palette generator →

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