#A152D3#A152D3

#A152D3 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 59.1% C 0.197 H 309.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A152D3
RGBrgb(161, 82, 211)
HSLhsl(277, 59%, 57%)
HSVhsv(277, 61%, 83%)
CMYKcmyk(23.7%, 61.1%, 0%, 17.3%)
CIE-LABlab(49.88, 54.47, -53.60)
CIE-LCHlch(49.88, 76.42, 315.46°)
OKLaboklab(59.13% 0.1264 -0.151)
OKLCHoklch(59.13% 0.197 309.9)
XYZxyz(29.4708, 18.3154, 63.5981)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152D3 #84D352
analogous
#6052D3 #A152D3 #D352C5
triadic
#A152D3 #D3A152 #52D3A1
tetradic
#A152D3 #D36052 #84D352 #52C5D3
square
#A152D3 #D36052 #84D352 #52C5D3
split-complementary
#A152D3 #C5D352 #52D360
monochromatic
#612388 #832FB9 #A152D3 #BC83DF #D6B4EC

Accessibility & contrast

On white

4.50
#A152D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A152D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152D3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152D3#FFFFFF#000000##000000
##A152D31.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1973D7
Deuteranopia (green-blind)
#4278D0
Tritanopia (blue-blind)
#9A6B8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a152d3;
/* rgb */ color: rgb(161, 82, 211);
/* oklch */ color: oklch(59.1% 0.197 309.9);
Tailwind
colors: {
  custom: {
    50: '#c087e1',
    500: '#a152d3',
    950: '#000000',
  },
}
SCSS
$custom: #a152d3;
$custom-light: #c087e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a152d3",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 276.744,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59133,
    "c": 0.19694,
    "h": 309.9
  },
  "luminance": 0.18315
}

Semantic roles & 50–950 ramp

primary
#A152D3
secondary
#BBDAA6
accent
#E34582
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A152D3

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

Preview Lab → · Contrast checker → · Palette generator →

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