#A52FDF#A52FDF

#A52FDF is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.8% C 0.250 H 311.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A52FDF
RGBrgb(165, 47, 223)
HSLhsl(280, 73%, 53%)
HSVhsv(280, 79%, 87%)
CMYKcmyk(26%, 78.9%, 0%, 12.5%)
CIE-LABlab(46.12, 72.09, -66.48)
CIE-LCHlch(46.12, 98.06, 317.32°)
OKLaboklab(56.82% 0.1647 -0.1885)
OKLCHoklch(56.82% 0.25 311.1)
XYZxyz(29.8503, 15.3608, 71.1902)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FDF #69DF2F
analogous
#4D2FDF #A52FDF #DF2FC1
triadic
#A52FDF #DFA52F #2FDFA5
tetradic
#A52FDF #DF4D2F #69DF2F #2FC1DF
square
#A52FDF #DF4D2F #69DF2F #2FC1DF
split-complementary
#A52FDF #C1DF2F #2FDF4D
monochromatic
#5C1480 #821CB5 #A52FDF #BC64E7 #D399EF

Accessibility & contrast

On white

5.16
#A52FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A52FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FDF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FDF#FFFFFF#000000##FFFFFF
##A52FDF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#9D5C88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a52fdf;
/* rgb */ color: rgb(165, 47, 223);
/* oklch */ color: oklch(56.8% 0.250 311.1);
Tailwind
colors: {
  custom: {
    50: '#c576ea',
    500: '#a52fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a52fdf;
$custom-light: #c576ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fdf",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 223
  },
  "hsl": {
    "h": 280.227,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.25028,
    "h": 311.1
  },
  "luminance": 0.1536
}

Semantic roles & 50–950 ramp

primary
#A52FDF
secondary
#A8DB8F
accent
#F03875
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140916
muted
#827B84

Preview Lab

Preview with #A52FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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