#A852CD#A852CD

#A852CD is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.6% C 0.193 H 314.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A852CD
RGBrgb(168, 82, 205)
HSLhsl(282, 55%, 56%)
HSVhsv(282, 60%, 80%)
CMYKcmyk(18%, 60%, 0%, 19.6%)
CIE-LABlab(50.41, 54.85, -49.26)
CIE-LCHlch(50.41, 73.72, 318.08°)
OKLaboklab(59.6% 0.1352 -0.1381)
OKLCHoklch(59.6% 0.193 314.4)
XYZxyz(30.1834, 18.7681, 59.7784)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A852CD #77CD52
analogous
#6B52CD #A852CD #CD52B5
triadic
#A852CD #CDA852 #52CDA8
tetradic
#A852CD #CD6B52 #77CD52 #52B5CD
square
#A852CD #CD6B52 #77CD52 #52B5CD
split-complementary
#A852CD #B5CD52 #52CD6B
monochromatic
#642580 #8A33AF #A852CD #C081DB #D8B1E8

Accessibility & contrast

On white

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

On black

4.75
#A852CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A852CD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A852CD#FFFFFF#000000##000000
##A852CD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D1
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#A56888
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a852cd;
/* rgb */ color: rgb(168, 82, 205);
/* oklch */ color: oklch(59.6% 0.193 314.4);
Tailwind
colors: {
  custom: {
    50: '#c587dd',
    500: '#a852cd',
    950: '#000000',
  },
}
SCSS
$custom: #a852cd;
$custom-light: #c587dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a852cd",
  "rgb": {
    "r": 168,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 281.951,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59602,
    "c": 0.19323,
    "h": 314.4
  },
  "luminance": 0.18767
}

Semantic roles & 50–950 ramp

primary
#A852CD
secondary
#B3D7A4
accent
#DE4976
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A852CD

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

Preview Lab → · Contrast checker → · Palette generator →

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