#A152C2#A152C2

#A152C2 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.1% C 0.179 H 314.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A152C2
RGBrgb(161, 82, 194)
HSLhsl(282, 48%, 54%)
HSVhsv(282, 58%, 76%)
CMYKcmyk(17%, 57.7%, 0%, 23.9%)
CIE-LABlab(48.89, 50.79, -45.40)
CIE-LCHlch(48.89, 68.13, 318.21°)
OKLaboklab(58.1% 0.1262 -0.127)
OKLCHoklch(58.1% 0.179 314.8)
XYZxyz(27.4513, 17.5075, 52.9617)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152C2 #73C252
analogous
#6952C2 #A152C2 #C252AB
triadic
#A152C2 #C2A152 #52C2A1
tetradic
#A152C2 #C26952 #73C252 #52ABC2
square
#A152C2 #C26952 #73C252 #52ABC2
split-complementary
#A152C2 #ABC252 #52C269
monochromatic
#5C2872 #81389F #A152C2 #BA7FD2 #D2ACE2

Accessibility & contrast

On white

4.67
#A152C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A152C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A152C2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152C2#FFFFFF#000000##FFFFFF
##A152C21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3370C6
Deuteranopia (green-blind)
#5076BF
Tritanopia (blue-blind)
#9F6582
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a152c2;
/* rgb */ color: rgb(161, 82, 194);
/* oklch */ color: oklch(58.1% 0.179 314.8);
Tailwind
colors: {
  custom: {
    50: '#c086d5',
    500: '#a152c2',
    950: '#000000',
  },
}
SCSS
$custom: #a152c2;
$custom-light: #c086d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a152c2",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 282.321,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.581,
    "c": 0.17909,
    "h": 314.8
  },
  "luminance": 0.17507
}

Semantic roles & 50–950 ramp

primary
#A152C2
secondary
#AED0A0
accent
#D75078
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A152C2

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

Preview Lab → · Contrast checker → · Palette generator →

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