#A152D5#A152D5

#A152D5 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.3% C 0.199 H 309.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A152D5
RGBrgb(161, 82, 213)
HSLhsl(276, 61%, 58%)
HSVhsv(276, 62%, 84%)
CMYKcmyk(24.4%, 61.5%, 0%, 16.5%)
CIE-LABlab(50.00, 54.91, -54.55)
CIE-LCHlch(50.00, 77.40, 315.19°)
OKLaboklab(59.26% 0.1264 -0.1538)
OKLCHoklch(59.26% 0.199 309.4)
XYZxyz(29.7231, 18.4163, 64.9268)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152D5 #86D552
analogous
#5F52D5 #A152D5 #D552C8
triadic
#A152D5 #D5A152 #52D5A1
tetradic
#A152D5 #D55F52 #86D552 #52C8D5
square
#A152D5 #D55F52 #86D552 #52C8D5
split-complementary
#A152D5 #C8D552 #52D55F
monochromatic
#61228B #842EBC #A152D5 #BC83E1 #D7B4ED

Accessibility & contrast

On white

4.48
#A152D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A152D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152D5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152D5#FFFFFF#000000##000000
##A152D51.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1474D9
Deuteranopia (green-blind)
#4078D2
Tritanopia (blue-blind)
#9A6C8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a152d5;
/* rgb */ color: rgb(161, 82, 213);
/* oklch */ color: oklch(59.3% 0.199 309.4);
Tailwind
colors: {
  custom: {
    50: '#c087e3',
    500: '#a152d5',
    950: '#000000',
  },
}
SCSS
$custom: #a152d5;
$custom-light: #c087e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a152d5",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 276.183,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59259,
    "c": 0.19905,
    "h": 309.4
  },
  "luminance": 0.18416
}

Semantic roles & 50–950 ramp

primary
#A152D5
secondary
#BCDCA7
accent
#E44483
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A152D5

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

Preview Lab → · Contrast checker → · Palette generator →

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