#AD31B5#AD31B5

#AD31B5 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.216 H 325.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AD31B5
RGBrgb(173, 49, 181)
HSLhsl(296, 57%, 45%)
HSVhsv(296, 73%, 71%)
CMYKcmyk(4.4%, 72.9%, 0%, 29%)
CIE-LABlab(44.83, 65.16, -44.19)
CIE-LCHlch(44.83, 78.73, 325.85°)
OKLaboklab(55.28% 0.1779 -0.123)
OKLCHoklch(55.28% 0.216 325.3)
XYZxyz(26.6718, 14.4188, 45.0854)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD31B5 #39B531
analogous
#6B31B5 #AD31B5 #B5317B
triadic
#AD31B5 #B5AD31 #31B5AD
tetradic
#AD31B5 #B56B31 #39B531 #317BB5
square
#AD31B5 #B56B31 #39B531 #317BB5
split-complementary
#AD31B5 #7BB531 #31B56B
monochromatic
#511755 #7F2485 #AD31B5 #C953D0 #D883DD

Accessibility & contrast

On white

5.41
#AD31B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AD31B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD31B5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD31B5#FFFFFF#000000##FFFFFF
##AD31B51.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0460B9
Deuteranopia (green-blind)
#4D6FB2
Tritanopia (blue-blind)
#B14871
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ad31b5;
/* rgb */ color: rgb(173, 49, 181);
/* oklch */ color: oklch(55.3% 0.216 325.3);
Tailwind
colors: {
  custom: {
    50: '#c976cc',
    500: '#ad31b5',
    950: '#000000',
  },
}
SCSS
$custom: #ad31b5;
$custom-light: #c976cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ad31b5",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 296.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55277,
    "c": 0.21626,
    "h": 325.3
  },
  "luminance": 0.14417
}

Semantic roles & 50–950 ramp

primary
#AD31B5
secondary
#80C77B
accent
#E14750
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AD31B5

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

Preview Lab → · Contrast checker → · Palette generator →

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