#A152C0#A152C0

#A152C0 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.0% C 0.177 H 315.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A152C0
RGBrgb(161, 82, 192)
HSLhsl(283, 47%, 54%)
HSVhsv(283, 57%, 75%)
CMYKcmyk(16.1%, 57.3%, 0%, 24.7%)
CIE-LABlab(48.78, 50.37, -44.42)
CIE-LCHlch(48.78, 67.16, 318.59°)
OKLaboklab(57.98% 0.1261 -0.1242)
OKLCHoklch(57.98% 0.177 315.4)
XYZxyz(27.2282, 17.4183, 51.7867)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152C0 #71C052
analogous
#6A52C0 #A152C0 #C052A8
triadic
#A152C0 #C0A152 #52C0A1
tetradic
#A152C0 #C06A52 #71C052 #52A8C0
square
#A152C0 #C06A52 #71C052 #52A8C0
split-complementary
#A152C0 #A8C052 #52C06A
monochromatic
#5B286F #80399C #A152C0 #B97FD0 #D2ACE1

Accessibility & contrast

On white

4.68
#A152C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A152C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A152C0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152C0#FFFFFF#000000##FFFFFF
##A152C01.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356FC4
Deuteranopia (green-blind)
#5276BD
Tritanopia (blue-blind)
#9F6481
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a152c0;
/* rgb */ color: rgb(161, 82, 192);
/* oklch */ color: oklch(58.0% 0.177 315.4);
Tailwind
colors: {
  custom: {
    50: '#bf86d3',
    500: '#a152c0',
    950: '#000000',
  },
}
SCSS
$custom: #a152c0;
$custom-light: #bf86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a152c0",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 283.091,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.177,
    "h": 315.4
  },
  "luminance": 0.17417
}

Semantic roles & 50–950 ramp

primary
#A152C0
secondary
#ADCE9F
accent
#D65277
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #A152C0

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

Preview Lab → · Contrast checker → · Palette generator →

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