#AD42CF#AD42CF

#AD42CF is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.219 H 316.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AD42CF
RGBrgb(173, 66, 207)
HSLhsl(286, 59%, 54%)
HSVhsv(286, 68%, 81%)
CMYKcmyk(16.4%, 68.1%, 0%, 18.8%)
CIE-LABlab(48.62, 63.57, -53.24)
CIE-LCHlch(48.62, 82.92, 320.05°)
OKLaboklab(58.49% 0.1596 -0.1495)
OKLCHoklch(58.49% 0.219 316.9)
XYZxyz(30.4426, 17.2869, 60.7525)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42CF #64CF42
analogous
#6642CF #AD42CF #CF42AA
triadic
#AD42CF #CFAD42 #42CFAD
tetradic
#AD42CF #CF6642 #64CF42 #42AACF
square
#AD42CF #CF6642 #64CF42 #42AACF
split-complementary
#AD42CF #AACF42 #42CF66
monochromatic
#621F78 #8B2BA9 #AD42CF #C273DB #D7A4E8

Accessibility & contrast

On white

4.71
#AD42CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AD42CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD42CF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD42CF#FFFFFF#000000##FFFFFF
##AD42CF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#AB5D84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ad42cf;
/* rgb */ color: rgb(173, 66, 207);
/* oklch */ color: oklch(58.5% 0.219 316.9);
Tailwind
colors: {
  custom: {
    50: '#c97fde',
    500: '#ad42cf',
    950: '#000000',
  },
}
SCSS
$custom: #ad42cf;
$custom-light: #c97fde;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42cf",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 285.532,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58485,
    "c": 0.21871,
    "h": 316.9
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#AD42CF
secondary
#A7D598
accent
#E3456B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AD42CF

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

Preview Lab → · Contrast checker → · Palette generator →

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