#A152D4#A152D4

#A152D4 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.2% C 0.198 H 309.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A152D4
RGBrgb(161, 82, 212)
HSLhsl(276, 60%, 58%)
HSVhsv(276, 61%, 83%)
CMYKcmyk(24.1%, 61.3%, 0%, 16.9%)
CIE-LABlab(49.94, 54.69, -54.08)
CIE-LCHlch(49.94, 76.91, 315.32°)
OKLaboklab(59.2% 0.1264 -0.1524)
OKLCHoklch(59.2% 0.198 309.7)
XYZxyz(29.5966, 18.3657, 64.2604)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152D4 #85D452
analogous
#6052D4 #A152D4 #D452C6
triadic
#A152D4 #D4A152 #52D4A1
tetradic
#A152D4 #D46052 #85D452 #52C6D4
square
#A152D4 #D46052 #85D452 #52C6D4
split-complementary
#A152D4 #C6D452 #52D460
monochromatic
#612289 #832EBA #A152D4 #BC83E0 #D6B4EC

Accessibility & contrast

On white

4.49
#A152D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#A152D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152D4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152D4#FFFFFF#000000##000000
##A152D41.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1673D8
Deuteranopia (green-blind)
#4178D1
Tritanopia (blue-blind)
#9A6B8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a152d4;
/* rgb */ color: rgb(161, 82, 212);
/* oklch */ color: oklch(59.2% 0.198 309.7);
Tailwind
colors: {
  custom: {
    50: '#c087e2',
    500: '#a152d4',
    950: '#000000',
  },
}
SCSS
$custom: #a152d4;
$custom-light: #c087e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a152d4",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 276.462,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59196,
    "c": 0.19799,
    "h": 309.7
  },
  "luminance": 0.18365
}

Semantic roles & 50–950 ramp

primary
#A152D4
secondary
#BBDBA7
accent
#E34483
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A152D4

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

Preview Lab → · Contrast checker → · Palette generator →

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