#AD40BE#AD40BE

#AD40BE is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.2% C 0.206 H 322.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AD40BE
RGBrgb(173, 64, 190)
HSLhsl(292, 50%, 50%)
HSVhsv(292, 66%, 75%)
CMYKcmyk(8.9%, 66.3%, 0%, 25.5%)
CIE-LABlab(47.33, 61.15, -45.48)
CIE-LCHlch(47.33, 76.21, 323.36°)
OKLaboklab(57.24% 0.1624 -0.1268)
OKLCHoklch(57.24% 0.206 322)
XYZxyz(28.3603, 16.2702, 50.3519)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40BE #51BE40
analogous
#6E40BE #AD40BE #BE4090
triadic
#AD40BE #BEAD40 #40BEAD
tetradic
#AD40BE #BE6E40 #51BE40 #4090BE
square
#AD40BE #BE6E40 #51BE40 #4090BE
split-complementary
#AD40BE #90BE40 #40BE6E
monochromatic
#5A2162 #833190 #AD40BE #C16DCE #D49BDD

Accessibility & contrast

On white

4.94
#AD40BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AD40BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD40BE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40BE#FFFFFF#000000##FFFFFF
##AD40BE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C2
Deuteranopia (green-blind)
#5074BB
Tritanopia (blue-blind)
#AF557A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ad40be;
/* rgb */ color: rgb(173, 64, 190);
/* oklch */ color: oklch(57.2% 0.206 322.0);
Tailwind
colors: {
  custom: {
    50: '#c97dd2',
    500: '#ad40be',
    950: '#000000',
  },
}
SCSS
$custom: #ad40be;
$custom-light: #c97dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40be",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 291.905,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57236,
    "c": 0.20602,
    "h": 322
  },
  "luminance": 0.16269
}

Semantic roles & 50–950 ramp

primary
#AD40BE
secondary
#98C990
accent
#D94F61
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AD40BE

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

Preview Lab → · Contrast checker → · Palette generator →

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