#A152DD#A152DD

#A152DD is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.207 H 307.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A152DD
RGBrgb(161, 82, 221)
HSLhsl(274, 67%, 59%)
HSVhsv(274, 63%, 87%)
CMYKcmyk(27.1%, 62.9%, 0%, 13.3%)
CIE-LABlab(50.49, 56.70, -58.31)
CIE-LCHlch(50.49, 81.33, 314.20°)
OKLaboklab(59.78% 0.126 -0.1648)
OKLCHoklch(59.78% 0.208 307.4)
XYZxyz(30.7637, 18.8325, 70.4070)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152DD #8EDD52
analogous
#5C52DD #A152DD #DD52D3
triadic
#A152DD #DDA152 #52DDA1
tetradic
#A152DD #DD5C52 #8EDD52 #52D3DD
square
#A152DD #DD5C52 #8EDD52 #52D3DD
split-complementary
#A152DD #D3DD52 #52DD5C
monochromatic
#631E97 #8428CA #A152DD #BD85E7 #D9B8F1

Accessibility & contrast

On white

4.41
#A152DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A152DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152DD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152DD#FFFFFF#000000##000000
##A152DD1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#3779DA
Tritanopia (blue-blind)
#986E90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a152dd;
/* rgb */ color: rgb(161, 82, 221);
/* oklch */ color: oklch(59.8% 0.207 307.4);
Tailwind
colors: {
  custom: {
    50: '#c187e8',
    500: '#a152dd',
    950: '#000000',
  },
}
SCSS
$custom: #a152dd;
$custom-light: #c187e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a152dd",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 274.101,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59775,
    "c": 0.2075,
    "h": 307.4
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

primary
#A152DD
secondary
#C2E0AA
accent
#EA3E88
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A152DD

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

Preview Lab → · Contrast checker → · Palette generator →

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