#A52EC8#A52EC8

#A52EC8 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.1% C 0.232 H 317.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A52EC8
RGBrgb(165, 46, 200)
HSLhsl(286, 63%, 48%)
HSVhsv(286, 77%, 78%)
CMYKcmyk(17.5%, 77%, 0%, 21.6%)
CIE-LABlab(44.41, 67.96, -56.03)
CIE-LCHlch(44.41, 88.08, 320.50°)
OKLaboklab(55.11% 0.1696 -0.1578)
OKLCHoklch(55.11% 0.232 317.1)
XYZxyz(26.9178, 14.1246, 55.9408)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EC8 #51C82E
analogous
#582EC8 #A52EC8 #C82E9E
triadic
#A52EC8 #C8A52E #2EC8A5
tetradic
#A52EC8 #C8582E #51C82E #2E9EC8
square
#A52EC8 #C8582E #51C82E #2E9EC8
split-complementary
#A52EC8 #9EC82E #2EC858
monochromatic
#531764 #7C2396 #A52EC8 #BC5AD9 #D08CE5

Accessibility & contrast

On white

5.49
#A52EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A52EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EC8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EC8#FFFFFF#000000##FFFFFF
##A52EC81.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#306CC5
Tritanopia (blue-blind)
#A3507A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a52ec8;
/* rgb */ color: rgb(165, 46, 200);
/* oklch */ color: oklch(55.1% 0.232 317.1);
Tailwind
colors: {
  custom: {
    50: '#c474d9',
    500: '#a52ec8',
    950: '#000000',
  },
}
SCSS
$custom: #a52ec8;
$custom-light: #c474d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ec8",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 286.364,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55112,
    "c": 0.23166,
    "h": 317.1
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#A52EC8
secondary
#94CF83
accent
#E64267
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A52EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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