#AD42CA#AD42CA

#AD42CA is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.2% C 0.214 H 318.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AD42CA
RGBrgb(173, 66, 202)
HSLhsl(287, 56%, 53%)
HSVhsv(287, 67%, 79%)
CMYKcmyk(14.4%, 67.3%, 0%, 20.8%)
CIE-LABlab(48.32, 62.60, -50.84)
CIE-LCHlch(48.32, 80.64, 320.91°)
OKLaboklab(58.17% 0.1599 -0.1425)
OKLCHoklch(58.17% 0.214 318.3)
XYZxyz(29.8410, 17.0462, 57.5840)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42CA #5FCA42
analogous
#6942CA #AD42CA #CA42A3
triadic
#AD42CA #CAAD42 #42CAAD
tetradic
#AD42CA #CA6942 #5FCA42 #42A3CA
square
#AD42CA #CA6942 #5FCA42 #42A3CA
split-complementary
#AD42CA #A3CA42 #42CA69
monochromatic
#602072 #892DA2 #AD42CA #C272D7 #D6A2E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD42CA#FFFFFF#000000##FFFFFF
##AD42CA1.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)
#006CCE
Deuteranopia (green-blind)
#4976C7
Tritanopia (blue-blind)
#AC5B81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ad42ca;
/* rgb */ color: rgb(173, 66, 202);
/* oklch */ color: oklch(58.2% 0.214 318.3);
Tailwind
colors: {
  custom: {
    50: '#c97fdb',
    500: '#ad42ca',
    950: '#000000',
  },
}
SCSS
$custom: #ad42ca;
$custom-light: #c97fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42ca",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 287.206,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58173,
    "c": 0.21418,
    "h": 318.3
  },
  "luminance": 0.17045
}

Semantic roles & 50–950 ramp

primary
#AD42CA
secondary
#A3D196
accent
#DF4869
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AD42CA

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

Preview Lab → · Contrast checker → · Palette generator →

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