#AD40BA#AD40BA

#AD40BA is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.0% C 0.203 H 323.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AD40BA
RGBrgb(173, 64, 186)
HSLhsl(294, 49%, 49%)
HSVhsv(294, 66%, 73%)
CMYKcmyk(7%, 65.6%, 0%, 27.1%)
CIE-LABlab(47.10, 60.42, -43.50)
CIE-LCHlch(47.10, 74.45, 324.24°)
OKLaboklab(57% 0.1624 -0.121)
OKLCHoklch(57% 0.203 323.3)
XYZxyz(27.9291, 16.0978, 48.0809)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40BA #4DBA40
analogous
#7040BA #AD40BA #BA408A
triadic
#AD40BA #BAAD40 #40BAAD
tetradic
#AD40BA #BA7040 #4DBA40 #408ABA
square
#AD40BA #BA7040 #4DBA40 #408ABA
split-complementary
#AD40BA #8ABA40 #40BA70
monochromatic
#58215F #83308C #AD40BA #C26BCC #D599DC

Accessibility & contrast

On white

4.98
#AD40BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AD40BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD40BA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40BA#FFFFFF#000000##FFFFFF
##AD40BA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BE
Deuteranopia (green-blind)
#5374B7
Tritanopia (blue-blind)
#B05378
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ad40ba;
/* rgb */ color: rgb(173, 64, 186);
/* oklch */ color: oklch(57.0% 0.203 323.3);
Tailwind
colors: {
  custom: {
    50: '#c97dcf',
    500: '#ad40ba',
    950: '#000000',
  },
}
SCSS
$custom: #ad40ba;
$custom-light: #c97dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40ba",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 293.607,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57001,
    "c": 0.20252,
    "h": 323.3
  },
  "luminance": 0.16096
}

Semantic roles & 50–950 ramp

primary
#AD40BA
secondary
#94C88E
accent
#D84F5E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AD40BA

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

Preview Lab → · Contrast checker → · Palette generator →

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