#AD1BA2#AD1BA2

#AD1BA2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.222 H 331.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AD1BA2
RGBrgb(173, 27, 162)
HSLhsl(305, 73%, 39%)
HSVhsv(305, 84%, 68%)
CMYKcmyk(0%, 84.4%, 6.4%, 32.2%)
CIE-LABlab(41.66, 68.16, -37.95)
CIE-LCHlch(41.66, 78.01, 330.89°)
OKLaboklab(52.67% 0.1955 -0.1047)
OKLCHoklch(52.67% 0.222 331.8)
XYZxyz(24.1472, 12.2788, 35.2737)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD1BA2 #1BAD26
analogous
#6F1BAD #AD1BA2 #AD1B59
triadic
#AD1BA2 #A2AD1B #1BA2AD
tetradic
#AD1BA2 #AD6F1B #1BAD26 #1B59AD
square
#AD1BA2 #AD6F1B #1BAD26 #1B59AD
split-complementary
#AD1BA2 #59AD1B #1BAD6F
monochromatic
#430A3F #781370 #AD1BA2 #DD28D0 #E65DDB

Accessibility & contrast

On white

6.08
#AD1BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AD1BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD1BA2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD1BA2#FFFFFF#000000##FFFFFF
##AD1BA21.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0456A5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#B43161
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ad1ba2;
/* rgb */ color: rgb(173, 27, 162);
/* oklch */ color: oklch(52.7% 0.222 331.8);
Tailwind
colors: {
  custom: {
    50: '#ca6dbe',
    500: '#ad1ba2',
    950: '#000000',
  },
}
SCSS
$custom: #ad1ba2;
$custom-light: #ca6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ad1ba2",
  "rgb": {
    "r": 173,
    "g": 27,
    "b": 162
  },
  "hsl": {
    "h": 304.521,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52671,
    "c": 0.22174,
    "h": 331.8
  },
  "luminance": 0.12277
}

Semantic roles & 50–950 ramp

primary
#AD1BA2
secondary
#5ACA63
accent
#F04638
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AD1BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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