#AD27B1#AD27B1

#AD27B1 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.223 H 326.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AD27B1
RGBrgb(173, 39, 177)
HSLhsl(298, 64%, 42%)
HSVhsv(298, 78%, 69%)
CMYKcmyk(2.3%, 78%, 0%, 30.6%)
CIE-LABlab(43.52, 67.57, -43.91)
CIE-LCHlch(43.52, 80.58, 326.98°)
OKLaboklab(54.27% 0.1866 -0.1221)
OKLCHoklch(54.27% 0.223 326.8)
XYZxyz(25.8945, 13.5114, 42.8306)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD27B1 #2BB127
analogous
#6827B1 #AD27B1 #B12770
triadic
#AD27B1 #B1AD27 #27B1AD
tetradic
#AD27B1 #B16827 #2BB127 #2770B1
square
#AD27B1 #B16827 #2BB127 #2770B1
split-complementary
#AD27B1 #70B127 #27B168
monochromatic
#4B114D #7C1C7F #AD27B1 #D140D5 #DD72E0

Accessibility & contrast

On white

5.67
#AD27B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AD27B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD27B1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD27B1#FFFFFF#000000##FFFFFF
##AD27B11.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4B6DAE
Tritanopia (blue-blind)
#B2406C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ad27b1;
/* rgb */ color: rgb(173, 39, 177);
/* oklch */ color: oklch(54.3% 0.223 326.8);
Tailwind
colors: {
  custom: {
    50: '#c972c9',
    500: '#ad27b1',
    950: '#000000',
  },
}
SCSS
$custom: #ad27b1;
$custom-light: #c972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad27b1",
  "rgb": {
    "r": 173,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 298.261,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54274,
    "c": 0.22302,
    "h": 326.8
  },
  "luminance": 0.1351
}

Semantic roles & 50–950 ramp

primary
#AD27B1
secondary
#6FC76D
accent
#E74146
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD27B1

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

Preview Lab → · Contrast checker → · Palette generator →

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