#A52EB3#A52EB3

#A52EB3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.214 H 323.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A52EB3
RGBrgb(165, 46, 179)
HSLhsl(294, 59%, 44%)
HSVhsv(294, 74%, 70%)
CMYKcmyk(7.8%, 74.3%, 0%, 29.8%)
CIE-LABlab(43.08, 64.13, -45.88)
CIE-LCHlch(43.08, 78.85, 324.42°)
OKLaboklab(53.74% 0.1718 -0.1281)
OKLCHoklch(53.74% 0.214 323.3)
XYZxyz(24.6300, 13.2095, 43.8915)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EB3 #3CB32E
analogous
#632EB3 #A52EB3 #B32E7F
triadic
#A52EB3 #B3A52E #2EB3A5
tetradic
#A52EB3 #B3632E #3CB32E #2E7FB3
square
#A52EB3 #B3632E #3CB32E #2E7FB3
split-complementary
#A52EB3 #7FB32E #2EB363
monochromatic
#4B1552 #782182 #A52EB3 #C34DD1 #D47EDE

Accessibility & contrast

On white

5.77
#A52EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A52EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EB3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EB3#FFFFFF#000000##FFFFFF
##A52EB31.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#456AB0
Tritanopia (blue-blind)
#A8476F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52eb3;
/* rgb */ color: rgb(165, 46, 179);
/* oklch */ color: oklch(53.7% 0.214 323.3);
Tailwind
colors: {
  custom: {
    50: '#c473ca',
    500: '#a52eb3',
    950: '#000000',
  },
}
SCSS
$custom: #a52eb3;
$custom-light: #c473ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a52eb3",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 293.684,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.21428,
    "h": 323.3
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

primary
#A52EB3
secondary
#7FC676
accent
#E24656
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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