#AD31B0#AD31B0

#AD31B0 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.212 H 327.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AD31B0
RGBrgb(173, 49, 176)
HSLhsl(299, 56%, 44%)
HSVhsv(299, 72%, 69%)
CMYKcmyk(1.7%, 72.2%, 0%, 31%)
CIE-LABlab(44.54, 64.31, -41.70)
CIE-LCHlch(44.54, 76.65, 327.04°)
OKLaboklab(54.98% 0.178 -0.1157)
OKLCHoklch(54.98% 0.212 327)
XYZxyz(26.1679, 14.2173, 42.4318)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD31B0 #34B031
analogous
#6E31B0 #AD31B0 #B03174
triadic
#AD31B0 #B0AD31 #31B0AD
tetradic
#AD31B0 #B06E31 #34B031 #3174B0
square
#AD31B0 #B06E31 #34B031 #3174B0
split-complementary
#AD31B0 #74B031 #31B06E
monochromatic
#4F1650 #7E2480 #AD31B0 #CB50CE #D980DC

Accessibility & contrast

On white

5.46
#AD31B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AD31B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD31B0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD31B0#FFFFFF#000000##FFFFFF
##AD31B01.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145FB4
Deuteranopia (green-blind)
#506FAD
Tritanopia (blue-blind)
#B2456E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ad31b0;
/* rgb */ color: rgb(173, 49, 176);
/* oklch */ color: oklch(55.0% 0.212 327.0);
Tailwind
colors: {
  custom: {
    50: '#c976c8',
    500: '#ad31b0',
    950: '#000000',
  },
}
SCSS
$custom: #ad31b0;
$custom-light: #c976c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ad31b0",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 298.583,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54982,
    "c": 0.2123,
    "h": 327
  },
  "luminance": 0.14215
}

Semantic roles & 50–950 ramp

primary
#AD31B0
secondary
#7AC578
accent
#E0484C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD31B0

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

Preview Lab → · Contrast checker → · Palette generator →

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