#A252CA#A252CA

#A252CA is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.7% C 0.188 H 312.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A252CA
RGBrgb(162, 82, 202)
HSLhsl(280, 53%, 56%)
HSVhsv(280, 59%, 79%)
CMYKcmyk(19.8%, 59.4%, 0%, 20.8%)
CIE-LABlab(49.47, 52.75, -49.08)
CIE-LCHlch(49.47, 72.05, 317.06°)
OKLaboklab(58.7% 0.1277 -0.1378)
OKLCHoklch(58.7% 0.188 312.8)
XYZxyz(28.5764, 17.9810, 57.8310)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A252CA #7ACA52
analogous
#6652CA #A252CA #CA52B6
triadic
#A252CA #CAA252 #52CAA2
tetradic
#A252CA #CA6652 #7ACA52 #52B6CA
square
#A252CA #CA6652 #7ACA52 #52B6CA
split-complementary
#A252CA #B6CA52 #52CA66
monochromatic
#5F267C #8334AB #A252CA #BB81D8 #D4B0E7

Accessibility & contrast

On white

4.57
#A252CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A252CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A252CA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A252CA#FFFFFF#000000##000000
##A252CA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A71CE
Deuteranopia (green-blind)
#4B77C7
Tritanopia (blue-blind)
#9E6886
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a252ca;
/* rgb */ color: rgb(162, 82, 202);
/* oklch */ color: oklch(58.7% 0.188 312.8);
Tailwind
colors: {
  custom: {
    50: '#c187db',
    500: '#a252ca',
    950: '#000000',
  },
}
SCSS
$custom: #a252ca;
$custom-light: #c187db;
$custom-dark: #000000;
JSON
{
  "hex": "#a252ca",
  "rgb": {
    "r": 162,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 280,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58697,
    "c": 0.18784,
    "h": 312.8
  },
  "luminance": 0.1798
}

Semantic roles & 50–950 ramp

primary
#A252CA
secondary
#B4D5A3
accent
#DD4B7C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A252CA

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

Preview Lab → · Contrast checker → · Palette generator →

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