#A852C8#A852C8

#A852C8 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.3% C 0.188 H 315.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A852C8
RGBrgb(168, 82, 200)
HSLhsl(284, 52%, 55%)
HSVhsv(284, 59%, 78%)
CMYKcmyk(16%, 59%, 0%, 21.6%)
CIE-LABlab(50.13, 53.81, -46.84)
CIE-LCHlch(50.13, 71.34, 318.97°)
OKLaboklab(59.31% 0.135 -0.131)
OKLCHoklch(59.31% 0.188 315.9)
XYZxyz(29.5895, 18.5306, 56.6505)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852C8 #72C852
analogous
#6D52C8 #A852C8 #C852AD
triadic
#A852C8 #C8A852 #52C8A8
tetradic
#A852C8 #C86D52 #72C852 #52ADC8
square
#A852C8 #C86D52 #72C852 #52ADC8
split-complementary
#A852C8 #ADC852 #52C86D
monochromatic
#632779 #8935A8 #A852C8 #BF80D7 #D7AFE6

Accessibility & contrast

On white

4.46
#A852C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A852C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852C8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852C8#FFFFFF#000000##000000
##A852C81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3072CC
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#A66685
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a852c8;
/* rgb */ color: rgb(168, 82, 200);
/* oklch */ color: oklch(59.3% 0.188 315.9);
Tailwind
colors: {
  custom: {
    50: '#c587d9',
    500: '#a852c8',
    950: '#000000',
  },
}
SCSS
$custom: #a852c8;
$custom-light: #c587d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a852c8",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 283.729,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59306,
    "c": 0.18816,
    "h": 315.9
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

primary
#A852C8
secondary
#B0D4A2
accent
#DB4D73
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #A852C8

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

Preview Lab → · Contrast checker → · Palette generator →

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