#A152CC#A152CC

#A152CC is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.7% C 0.190 H 311.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A152CC
RGBrgb(161, 82, 204)
HSLhsl(279, 54%, 56%)
HSVhsv(279, 60%, 80%)
CMYKcmyk(21.1%, 59.8%, 0%, 20%)
CIE-LABlab(49.46, 52.94, -50.26)
CIE-LCHlch(49.46, 72.99, 316.49°)
OKLaboklab(58.7% 0.1265 -0.1412)
OKLCHoklch(58.7% 0.19 311.8)
XYZxyz(28.6124, 17.9720, 59.0767)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152CC #7DCC52
analogous
#6452CC #A152CC #CC52BA
triadic
#A152CC #CCA152 #52CCA1
tetradic
#A152CC #CC6452 #7DCC52 #52BACC
square
#A152CC #CC6452 #7DCC52 #52BACC
split-complementary
#A152CC #BACC52 #52CC64
monochromatic
#5F257E #8233AE #A152CC #BB81DA #D4B1E8

Accessibility & contrast

On white

4.57
#A152CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A152CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152CC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152CC#FFFFFF#000000##000000
##A152CC1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2672D0
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#9C6887
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a152cc;
/* rgb */ color: rgb(161, 82, 204);
/* oklch */ color: oklch(58.7% 0.190 311.8);
Tailwind
colors: {
  custom: {
    50: '#c087dc',
    500: '#a152cc',
    950: '#000000',
  },
}
SCSS
$custom: #a152cc;
$custom-light: #c087dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a152cc",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 278.852,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58699,
    "c": 0.18957,
    "h": 311.8
  },
  "luminance": 0.17971
}

Semantic roles & 50–950 ramp

primary
#A152CC
secondary
#B5D6A4
accent
#DE4A7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A152CC

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

Preview Lab → · Contrast checker → · Palette generator →

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