#A852CA#A852CA

#A852CA is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.4% C 0.190 H 315.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A852CA
RGBrgb(168, 82, 202)
HSLhsl(283, 53%, 56%)
HSVhsv(283, 59%, 79%)
CMYKcmyk(16.8%, 59.4%, 0%, 20.8%)
CIE-LABlab(50.25, 54.23, -47.81)
CIE-LCHlch(50.25, 72.29, 318.60°)
OKLaboklab(59.42% 0.1351 -0.1339)
OKLCHoklch(59.42% 0.19 315.3)
XYZxyz(29.8247, 18.6247, 57.8895)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852CA #74CA52
analogous
#6C52CA #A852CA #CA52B0
triadic
#A852CA #CAA852 #52CAA8
tetradic
#A852CA #CA6C52 #74CA52 #52B0CA
square
#A852CA #CA6C52 #74CA52 #52B0CA
split-complementary
#A852CA #B0CA52 #52CA6C
monochromatic
#63267C #8934AB #A852CA #C081D8 #D7B0E7

Accessibility & contrast

On white

4.44
#A852CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A852CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852CA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852CA#FFFFFF#000000##000000
##A852CA1.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E72CE
Deuteranopia (green-blind)
#517AC7
Tritanopia (blue-blind)
#A66786
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a852ca;
/* rgb */ color: rgb(168, 82, 202);
/* oklch */ color: oklch(59.4% 0.190 315.3);
Tailwind
colors: {
  custom: {
    50: '#c587db',
    500: '#a852ca',
    950: '#000000',
  },
}
SCSS
$custom: #a852ca;
$custom-light: #c587db;
$custom-dark: #000000;
JSON
{
  "hex": "#a852ca",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 283,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59424,
    "c": 0.19019,
    "h": 315.3
  },
  "luminance": 0.18624
}

Semantic roles & 50–950 ramp

primary
#A852CA
secondary
#B1D5A3
accent
#DD4B74
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A852CA

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

Preview Lab → · Contrast checker → · Palette generator →

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