#A252DA#A252DA

#A252DA is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.205 H 308.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A252DA
RGBrgb(162, 82, 218)
HSLhsl(275, 65%, 59%)
HSVhsv(275, 62%, 85%)
CMYKcmyk(25.7%, 62.4%, 0%, 14.5%)
CIE-LABlab(50.43, 56.25, -56.70)
CIE-LCHlch(50.43, 79.87, 314.77°)
OKLaboklab(59.7% 0.1275 -0.1601)
OKLCHoklch(59.7% 0.205 308.5)
XYZxyz(30.5699, 18.7784, 68.3302)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A252DA #8ADA52
analogous
#5E52DA #A252DA #DA52CE
triadic
#A252DA #DAA252 #52DAA2
tetradic
#A252DA #DA5E52 #8ADA52 #52CEDA
square
#A252DA #DA5E52 #8ADA52 #52CEDA
split-complementary
#A252DA #CEDA52 #52DA5E
monochromatic
#631F92 #852AC5 #A252DA #BD84E5 #D8B7F0

Accessibility & contrast

On white

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

On black

4.76
#A252DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A252DA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A252DA#FFFFFF#000000##000000
##A252DA1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0175DE
Deuteranopia (green-blind)
#3C79D7
Tritanopia (blue-blind)
#9A6D8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a252da;
/* rgb */ color: rgb(162, 82, 218);
/* oklch */ color: oklch(59.7% 0.205 308.5);
Tailwind
colors: {
  custom: {
    50: '#c187e6',
    500: '#a252da',
    950: '#000000',
  },
}
SCSS
$custom: #a252da;
$custom-light: #c187e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a252da",
  "rgb": {
    "r": 162,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 275.294,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59696,
    "c": 0.20462,
    "h": 308.5
  },
  "luminance": 0.18778
}

Semantic roles & 50–950 ramp

primary
#A252DA
secondary
#BFDFA9
accent
#E84085
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A252DA

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

Preview Lab → · Contrast checker → · Palette generator →

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