#A152D6#A152D6

#A152D6 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.200 H 309.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A152D6
RGBrgb(161, 82, 214)
HSLhsl(276, 62%, 58%)
HSVhsv(276, 62%, 84%)
CMYKcmyk(24.8%, 61.7%, 0%, 16.1%)
CIE-LABlab(50.06, 55.13, -55.02)
CIE-LCHlch(50.06, 77.89, 315.06°)
OKLaboklab(59.32% 0.1263 -0.1552)
OKLCHoklch(59.32% 0.2 309.1)
XYZxyz(29.8504, 18.4672, 65.5973)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152D6 #87D652
analogous
#5F52D6 #A152D6 #D652C9
triadic
#A152D6 #D6A152 #52D6A1
tetradic
#A152D6 #D65F52 #87D652 #52C9D6
square
#A152D6 #D65F52 #87D652 #52C9D6
split-complementary
#A152D6 #C9D652 #52D65F
monochromatic
#61218C #842DBE #A152D6 #BC83E2 #D7B5ED

Accessibility & contrast

On white

4.47
#A152D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A152D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152D6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152D6#FFFFFF#000000##000000
##A152D61.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1074DA
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#996C8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a152d6;
/* rgb */ color: rgb(161, 82, 214);
/* oklch */ color: oklch(59.3% 0.200 309.1);
Tailwind
colors: {
  custom: {
    50: '#c087e3',
    500: '#a152d6',
    950: '#000000',
  },
}
SCSS
$custom: #a152d6;
$custom-light: #c087e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a152d6",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 275.909,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59323,
    "c": 0.2001,
    "h": 309.1
  },
  "luminance": 0.18467
}

Semantic roles & 50–950 ramp

primary
#A152D6
secondary
#BDDCA8
accent
#E54384
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #A152D6

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

Preview Lab → · Contrast checker → · Palette generator →

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