#AD40CF#AD40CF

#AD40CF is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.221 H 317.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AD40CF
RGBrgb(173, 64, 207)
HSLhsl(286, 60%, 53%)
HSVhsv(286, 69%, 81%)
CMYKcmyk(16.4%, 69.1%, 0%, 18.8%)
CIE-LABlab(48.33, 64.37, -53.70)
CIE-LCHlch(48.33, 83.83, 320.17°)
OKLaboklab(58.28% 0.1617 -0.1508)
OKLCHoklch(58.28% 0.221 317)
XYZxyz(30.3278, 17.0573, 60.7142)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40CF #62CF40
analogous
#6540CF #AD40CF #CF40AA
triadic
#AD40CF #CFAD40 #40CFAD
tetradic
#AD40CF #CF6540 #62CF40 #40AACF
square
#AD40CF #CF6540 #62CF40 #40AACF
split-complementary
#AD40CF #AACF40 #40CF65
monochromatic
#621E77 #8A2AA8 #AD40CF #C271DB #D7A2E8

Accessibility & contrast

On white

4.76
#AD40CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AD40CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD40CF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40CF#FFFFFF#000000##FFFFFF
##AD40CF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#4376CC
Tritanopia (blue-blind)
#AB5C83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ad40cf;
/* rgb */ color: rgb(173, 64, 207);
/* oklch */ color: oklch(58.3% 0.221 317.0);
Tailwind
colors: {
  custom: {
    50: '#c97ede',
    500: '#ad40cf',
    950: '#000000',
  },
}
SCSS
$custom: #ad40cf;
$custom-light: #c97ede;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40cf",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 285.734,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58279,
    "c": 0.22115,
    "h": 317
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#AD40CF
secondary
#A5D497
accent
#E3456A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AD40CF

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

Preview Lab → · Contrast checker → · Palette generator →

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