#A152CA#A152CA

#A152CA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.187 H 312.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A152CA
RGBrgb(161, 82, 202)
HSLhsl(280, 53%, 56%)
HSVhsv(280, 59%, 79%)
CMYKcmyk(20.3%, 59.4%, 0%, 20.8%)
CIE-LABlab(49.35, 52.50, -49.29)
CIE-LCHlch(49.35, 72.02, 316.81°)
OKLaboklab(58.58% 0.1264 -0.1384)
OKLCHoklch(58.58% 0.187 312.4)
XYZxyz(28.3740, 17.8766, 57.8215)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152CA #7BCA52
analogous
#6552CA #A152CA #CA52B7
triadic
#A152CA #CAA152 #52CAA1
tetradic
#A152CA #CA6552 #7BCA52 #52B7CA
square
#A152CA #CA6552 #7BCA52 #52B7CA
split-complementary
#A152CA #B7CA52 #52CA65
monochromatic
#5E267C #8234AB #A152CA #BA81D8 #D4B0E7

Accessibility & contrast

On white

4.59
#A152CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A152CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A152CA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152CA#FFFFFF#000000##FFFFFF
##A152CA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#9D6886
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a152ca;
/* rgb */ color: rgb(161, 82, 202);
/* oklch */ color: oklch(58.6% 0.187 312.4);
Tailwind
colors: {
  custom: {
    50: '#c087db',
    500: '#a152ca',
    950: '#000000',
  },
}
SCSS
$custom: #a152ca;
$custom-light: #c087db;
$custom-dark: #000000;
JSON
{
  "hex": "#a152ca",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 279.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58577,
    "c": 0.18746,
    "h": 312.4
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#A152CA
secondary
#B4D5A3
accent
#DD4B7D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A152CA

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

Preview Lab → · Contrast checker → · Palette generator →

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