#A152CE#A152CE

#A152CE is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.8% C 0.192 H 311.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A152CE
RGBrgb(161, 82, 206)
HSLhsl(278, 56%, 56%)
HSVhsv(278, 60%, 81%)
CMYKcmyk(21.8%, 60.2%, 0%, 19.2%)
CIE-LABlab(49.58, 53.37, -51.22)
CIE-LCHlch(49.58, 73.97, 316.18°)
OKLaboklab(58.82% 0.1265 -0.144)
OKLCHoklch(58.82% 0.192 311.3)
XYZxyz(28.8538, 18.0685, 60.3482)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A152CE #7FCE52
analogous
#6352CE #A152CE #CE52BD
triadic
#A152CE #CEA152 #52CEA1
tetradic
#A152CE #CE6352 #7FCE52 #52BDCE
square
#A152CE #CE6352 #7FCE52 #52BDCE
split-complementary
#A152CE #BDCE52 #52CE63
monochromatic
#5F2581 #8332B1 #A152CE #BB82DC #D5B1E9

Accessibility & contrast

On white

4.55
#A152CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A152CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A152CE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A152CE#FFFFFF#000000##000000
##A152CE1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2372D2
Deuteranopia (green-blind)
#4777CB
Tritanopia (blue-blind)
#9C6988
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a152ce;
/* rgb */ color: rgb(161, 82, 206);
/* oklch */ color: oklch(58.8% 0.192 311.3);
Tailwind
colors: {
  custom: {
    50: '#c087dd',
    500: '#a152ce',
    950: '#000000',
  },
}
SCSS
$custom: #a152ce;
$custom-light: #c087dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a152ce",
  "rgb": {
    "r": 161,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 278.226,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58822,
    "c": 0.19167,
    "h": 311.3
  },
  "luminance": 0.18068
}

Semantic roles & 50–950 ramp

primary
#A152CE
secondary
#B7D7A4
accent
#DF497F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A152CE

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

Preview Lab → · Contrast checker → · Palette generator →

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