#A52EBC#A52EBC

#A52EBC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.222 H 320.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A52EBC
RGBrgb(165, 46, 188)
HSLhsl(290, 61%, 46%)
HSVhsv(290, 76%, 74%)
CMYKcmyk(12.2%, 75.5%, 0%, 26.3%)
CIE-LABlab(43.63, 65.74, -50.29)
CIE-LCHlch(43.63, 82.77, 322.59°)
OKLaboklab(54.31% 0.1711 -0.141)
OKLCHoklch(54.31% 0.222 320.5)
XYZxyz(25.5701, 13.5855, 48.8426)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EBC #45BC2E
analogous
#5E2EBC #A52EBC #BC2E8C
triadic
#A52EBC #BCA52E #2EBCA5
tetradic
#A52EBC #BC5E2E #45BC2E #2E8CBC
square
#A52EBC #BC5E2E #45BC2E #2E8CBC
split-complementary
#A52EBC #8CBC2E #2EBC5E
monochromatic
#4F165A #7A228B #A52EBC #C052D5 #D284E1

Accessibility & contrast

On white

5.65
#A52EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A52EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EBC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EBC#FFFFFF#000000##FFFFFF
##A52EBC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#A64B74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a52ebc;
/* rgb */ color: rgb(165, 46, 188);
/* oklch */ color: oklch(54.3% 0.222 320.5);
Tailwind
colors: {
  custom: {
    50: '#c474d1',
    500: '#a52ebc',
    950: '#000000',
  },
}
SCSS
$custom: #a52ebc;
$custom-light: #c474d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ebc",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 290.282,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54313,
    "c": 0.22167,
    "h": 320.5
  },
  "luminance": 0.13584
}

Semantic roles & 50–950 ramp

primary
#A52EBC
secondary
#88CA7C
accent
#E4445E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A52EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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