#A152CD#A152CD

#A152CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.8% C 0.191 H 311.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A152CD
RGBrgb(161, 82, 205)
HSLhsl(279, 55%, 56%)
HSVhsv(279, 60%, 80%)
CMYKcmyk(21.5%, 60%, 0%, 19.6%)
CIE-LABlab(49.52, 53.15, -50.74)
CIE-LCHlch(49.52, 73.48, 316.33°)
OKLaboklab(58.76% 0.1265 -0.1426)
OKLCHoklch(58.76% 0.191 311.6)
XYZxyz(28.7327, 18.0201, 59.7104)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152CD #7ECD52
analogous
#6452CD #A152CD #CD52BB
triadic
#A152CD #CDA152 #52CDA1
tetradic
#A152CD #CD6452 #7ECD52 #52BBCD
square
#A152CD #CD6452 #7ECD52 #52BBCD
split-complementary
#A152CD #BBCD52 #52CD64
monochromatic
#5F2580 #8333AF #A152CD #BB81DB #D5B1E8

Accessibility & contrast

On white

4.56
#A152CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A152CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152CD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152CD#FFFFFF#000000##000000
##A152CD1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2472D1
Deuteranopia (green-blind)
#4877CA
Tritanopia (blue-blind)
#9C6988
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a152cd;
/* rgb */ color: rgb(161, 82, 205);
/* oklch */ color: oklch(58.8% 0.191 311.6);
Tailwind
colors: {
  custom: {
    50: '#c087dd',
    500: '#a152cd',
    950: '#000000',
  },
}
SCSS
$custom: #a152cd;
$custom-light: #c087dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a152cd",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 278.537,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5876,
    "c": 0.19062,
    "h": 311.6
  },
  "luminance": 0.18019
}

Semantic roles & 50–950 ramp

primary
#A152CD
secondary
#B6D7A4
accent
#DE497F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A152CD

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

Preview Lab → · Contrast checker → · Palette generator →

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