#AD31B3#AD31B3

#AD31B3 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.215 H 326.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AD31B3
RGBrgb(173, 49, 179)
HSLhsl(297, 57%, 45%)
HSVhsv(297, 73%, 70%)
CMYKcmyk(3.4%, 72.6%, 0%, 29.8%)
CIE-LABlab(44.71, 64.82, -43.20)
CIE-LCHlch(44.71, 77.89, 326.32°)
OKLaboklab(55.16% 0.178 -0.1201)
OKLCHoklch(55.16% 0.215 326)
XYZxyz(26.4680, 14.3373, 44.0124)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD31B3 #37B331
analogous
#6C31B3 #AD31B3 #B33178
triadic
#AD31B3 #B3AD31 #31B3AD
tetradic
#AD31B3 #B36C31 #37B331 #3178B3
square
#AD31B3 #B36C31 #37B331 #3178B3
split-complementary
#AD31B3 #78B331 #31B36C
monochromatic
#501753 #7F2483 #AD31B3 #CA52D0 #D982DD

Accessibility & contrast

On white

5.43
#AD31B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AD31B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD31B3
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD31B3#FFFFFF#000000##FFFFFF
##AD31B31.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C60B7
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#B1476F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ad31b3;
/* rgb */ color: rgb(173, 49, 179);
/* oklch */ color: oklch(55.2% 0.215 326.0);
Tailwind
colors: {
  custom: {
    50: '#c976ca',
    500: '#ad31b3',
    950: '#000000',
  },
}
SCSS
$custom: #ad31b3;
$custom-light: #c976ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ad31b3",
  "rgb": {
    "r": 173,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 297.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.21466,
    "h": 326
  },
  "luminance": 0.14336
}

Semantic roles & 50–950 ramp

primary
#AD31B3
secondary
#7DC67A
accent
#E0484F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD31B3

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

Preview Lab → · Contrast checker → · Palette generator →

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