#AD31B1#AD31B1

#AD31B1 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.213 H 326.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AD31B1
RGBrgb(173, 49, 177)
HSLhsl(298, 57%, 44%)
HSVhsv(298, 72%, 69%)
CMYKcmyk(2.3%, 72.3%, 0%, 30.6%)
CIE-LABlab(44.60, 64.48, -42.20)
CIE-LCHlch(44.60, 77.06, 326.80°)
OKLaboklab(55.04% 0.178 -0.1172)
OKLCHoklch(55.04% 0.213 326.6)
XYZxyz(26.2672, 14.2570, 42.9548)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD31B1 #35B131
analogous
#6D31B1 #AD31B1 #B13175
triadic
#AD31B1 #B1AD31 #31B1AD
tetradic
#AD31B1 #B16D31 #35B131 #3175B1
square
#AD31B1 #B16D31 #35B131 #3175B1
split-complementary
#AD31B1 #75B131 #31B16D
monochromatic
#4F1651 #7E2481 #AD31B1 #CB51CF #D980DC

Accessibility & contrast

On white

5.45
#AD31B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AD31B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD31B1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD31B1#FFFFFF#000000##FFFFFF
##AD31B11.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125FB5
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#B2466E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ad31b1;
/* rgb */ color: rgb(173, 49, 177);
/* oklch */ color: oklch(55.0% 0.213 326.6);
Tailwind
colors: {
  custom: {
    50: '#c976c9',
    500: '#ad31b1',
    950: '#000000',
  },
}
SCSS
$custom: #ad31b1;
$custom-light: #c976c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad31b1",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 298.125,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55041,
    "c": 0.21309,
    "h": 326.6
  },
  "luminance": 0.14255
}

Semantic roles & 50–950 ramp

primary
#AD31B1
secondary
#7BC579
accent
#E0484D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD31B1

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

Preview Lab → · Contrast checker → · Palette generator →

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