#A252BD#A252BD

#A252BD is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.9% C 0.174 H 316.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A252BD
RGBrgb(162, 82, 189)
HSLhsl(285, 45%, 53%)
HSVhsv(285, 57%, 74%)
CMYKcmyk(14.3%, 56.6%, 0%, 25.9%)
CIE-LABlab(48.75, 50.00, -42.73)
CIE-LCHlch(48.75, 65.77, 319.49°)
OKLaboklab(57.93% 0.1272 -0.1192)
OKLCHoklch(57.93% 0.174 316.9)
XYZxyz(27.1015, 17.3911, 50.0634)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A252BD #6DBD52
analogous
#6C52BD #A252BD #BD52A2
triadic
#A252BD #BDA252 #52BDA2
tetradic
#A252BD #BD6C52 #6DBD52 #52A2BD
square
#A252BD #BD6C52 #6DBD52 #52A2BD
split-complementary
#A252BD #A2BD52 #52BD6C
monochromatic
#5B296C #803A98 #A252BD #BA7ECE #D2ABDF

Accessibility & contrast

On white

4.69
#A252BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A252BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A252BD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A252BD#FFFFFF#000000##FFFFFF
##A252BD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC0
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#A16380
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a252bd;
/* rgb */ color: rgb(162, 82, 189);
/* oklch */ color: oklch(57.9% 0.174 316.9);
Tailwind
colors: {
  custom: {
    50: '#c086d1',
    500: '#a252bd',
    950: '#000000',
  },
}
SCSS
$custom: #a252bd;
$custom-light: #c086d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a252bd",
  "rgb": {
    "r": 162,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 284.86,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57934,
    "c": 0.17433,
    "h": 316.9
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

primary
#A252BD
secondary
#AACC9E
accent
#D45374
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A252BD

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

Preview Lab → · Contrast checker → · Palette generator →

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