#A152DC#A152DC

#A152DC is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.206 H 307.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A152DC
RGBrgb(161, 82, 220)
HSLhsl(274, 66%, 59%)
HSVhsv(274, 63%, 86%)
CMYKcmyk(26.8%, 62.7%, 0%, 13.7%)
CIE-LABlab(50.43, 56.47, -57.84)
CIE-LCHlch(50.43, 80.84, 314.31°)
OKLaboklab(59.71% 0.1261 -0.1635)
OKLCHoklch(59.71% 0.206 307.6)
XYZxyz(30.6308, 18.7794, 69.7074)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152DC #8DDC52
analogous
#5C52DC #A152DC #DC52D2
triadic
#A152DC #DCA152 #52DCA1
tetradic
#A152DC #DC5C52 #8DDC52 #52D2DC
square
#A152DC #DC5C52 #8DDC52 #52D2DC
split-complementary
#A152DC #D2DC52 #52DC5C
monochromatic
#621E95 #8429C8 #A152DC #BD85E6 #D8B8F1

Accessibility & contrast

On white

4.42
#A152DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A152DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152DC#FFFFFF#000000##000000
##A152DC1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#986E90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a152dc;
/* rgb */ color: rgb(161, 82, 220);
/* oklch */ color: oklch(59.7% 0.206 307.6);
Tailwind
colors: {
  custom: {
    50: '#c187e8',
    500: '#a152dc',
    950: '#000000',
  },
}
SCSS
$custom: #a152dc;
$custom-light: #c187e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a152dc",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 274.348,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5971,
    "c": 0.20644,
    "h": 307.6
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

primary
#A152DC
secondary
#C1E0AA
accent
#E93F88
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A152DC

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

Preview Lab → · Contrast checker → · Palette generator →

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