#A152C8#A152C8

#A152C8 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.5% C 0.185 H 313.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A152C8
RGBrgb(161, 82, 200)
HSLhsl(280, 52%, 55%)
HSVhsv(280, 59%, 78%)
CMYKcmyk(19.5%, 59%, 0%, 21.6%)
CIE-LABlab(49.23, 52.07, -48.33)
CIE-LCHlch(49.23, 71.04, 317.14°)
OKLaboklab(58.46% 0.1264 -0.1356)
OKLCHoklch(58.46% 0.185 313)
XYZxyz(28.1388, 17.7825, 56.5825)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152C8 #79C852
analogous
#6652C8 #A152C8 #C852B4
triadic
#A152C8 #C8A152 #52C8A1
tetradic
#A152C8 #C86652 #79C852 #52B4C8
square
#A152C8 #C86652 #79C852 #52B4C8
split-complementary
#A152C8 #B4C852 #52C866
monochromatic
#5E2779 #8235A8 #A152C8 #BA80D7 #D3AFE6

Accessibility & contrast

On white

4.61
#A152C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A152C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A152C8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152C8#FFFFFF#000000##FFFFFF
##A152C81.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C71CC
Deuteranopia (green-blind)
#4C77C5
Tritanopia (blue-blind)
#9D6785
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a152c8;
/* rgb */ color: rgb(161, 82, 200);
/* oklch */ color: oklch(58.5% 0.185 313.0);
Tailwind
colors: {
  custom: {
    50: '#c086d9',
    500: '#a152c8',
    950: '#000000',
  },
}
SCSS
$custom: #a152c8;
$custom-light: #c086d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a152c8",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 280.169,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58456,
    "c": 0.18536,
    "h": 313
  },
  "luminance": 0.17782
}

Semantic roles & 50–950 ramp

primary
#A152C8
secondary
#B3D4A2
accent
#DB4D7C
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #A152C8

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

Preview Lab → · Contrast checker → · Palette generator →

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