#A252A2#A252A2

#A252A2 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.5% C 0.147 H 327.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A252A2
RGBrgb(162, 82, 162)
HSLhsl(300, 33%, 48%)
HSVhsv(300, 49%, 64%)
CMYKcmyk(0%, 49.4%, 0%, 36.5%)
CIE-LABlab(47.40, 44.67, -29.04)
CIE-LCHlch(47.40, 53.28, 326.97°)
OKLaboklab(56.5% 0.1241 -0.0796)
OKLCHoklch(56.5% 0.147 327.3)
XYZxyz(24.4388, 16.3259, 36.0394)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A252A2 #52A252
analogous
#7A52A2 #A252A2 #A2527A
triadic
#A252A2 #A2A252 #52A2A2
tetradic
#A252A2 #A27A52 #52A252 #527AA2
square
#A252A2 #A27A52 #52A252 #527AA2
split-complementary
#A252A2 #7AA252 #52A27A
monochromatic
#512951 #793D79 #A252A2 #BA77BA #CFA0CF

Accessibility & contrast

On white

4.92
#A252A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A252A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A252A2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A252A2#FFFFFF#000000##FFFFFF
##A252A21.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#6274A0
Tritanopia (blue-blind)
#A65B72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a252a2;
/* rgb */ color: rgb(162, 82, 162);
/* oklch */ color: oklch(56.5% 0.147 327.3);
Tailwind
colors: {
  custom: {
    50: '#bf86be',
    500: '#a252a2',
    950: '#000000',
  },
}
SCSS
$custom: #a252a2;
$custom-light: #bf86be;
$custom-dark: #000000;
JSON
{
  "hex": "#a252a2",
  "rgb": {
    "r": 162,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56501,
    "c": 0.14746,
    "h": 327.3
  },
  "luminance": 0.16325
}

Semantic roles & 50–950 ramp

primary
#A252A2
secondary
#94BC94
accent
#C95F5F
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A252A2

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

Preview Lab → · Contrast checker → · Palette generator →

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