#A252AF#A252AF

#A252AF is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.2% C 0.160 H 321.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A252AF
RGBrgb(162, 82, 175)
HSLhsl(292, 37%, 50%)
HSVhsv(292, 53%, 69%)
CMYKcmyk(7.4%, 53.1%, 0%, 31.4%)
CIE-LABlab(48.02, 47.17, -35.71)
CIE-LCHlch(48.02, 59.17, 322.87°)
OKLaboklab(57.16% 0.126 -0.0989)
OKLCHoklch(57.16% 0.16 321.9)
XYZxyz(25.6546, 16.8123, 42.4429)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A252AF #5FAF52
analogous
#7352AF #A252AF #AF528D
triadic
#A252AF #AFA252 #52AFA2
tetradic
#A252AF #AF7352 #5FAF52 #528DAF
square
#A252AF #AF7352 #5FAF52 #528DAF
split-complementary
#A252AF #8DAF52 #52AF73
monochromatic
#552B5C #7C3E86 #A252AF #B87CC2 #CFA6D6

Accessibility & contrast

On white

4.81
#A252AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A252AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A252AF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A252AF#FFFFFF#000000##FFFFFF
##A252AF1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#A45F79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a252af;
/* rgb */ color: rgb(162, 82, 175);
/* oklch */ color: oklch(57.2% 0.160 321.9);
Tailwind
colors: {
  custom: {
    50: '#c086c7',
    500: '#a252af',
    950: '#000000',
  },
}
SCSS
$custom: #a252af;
$custom-light: #c086c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a252af",
  "rgb": {
    "r": 162,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 291.613,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57164,
    "c": 0.16012,
    "h": 321.9
  },
  "luminance": 0.16811
}

Semantic roles & 50–950 ramp

primary
#A252AF
secondary
#9FC39A
accent
#CD5B6B
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #A252AF

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

Preview Lab → · Contrast checker → · Palette generator →

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