#AD42C7#AD42C7

#AD42C7 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.211 H 319.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AD42C7
RGBrgb(173, 66, 199)
HSLhsl(288, 54%, 52%)
HSVhsv(288, 67%, 78%)
CMYKcmyk(13.1%, 66.8%, 0%, 22%)
CIE-LABlab(48.14, 62.02, -49.40)
CIE-LCHlch(48.14, 79.29, 321.46°)
OKLaboklab(57.99% 0.16 -0.1383)
OKLCHoklch(57.99% 0.211 319.2)
XYZxyz(29.4893, 16.9055, 55.7315)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42C7 #5CC742
analogous
#6B42C7 #AD42C7 #C7429E
triadic
#AD42C7 #C7AD42 #42C7AD
tetradic
#AD42C7 #C76B42 #5CC742 #429EC7
square
#AD42C7 #C76B42 #5CC742 #429EC7
split-complementary
#AD42C7 #9EC742 #42C76B
monochromatic
#5F216E #882F9D #AD42C7 #C171D5 #D6A0E3

Accessibility & contrast

On white

4.79
#AD42C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AD42C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD42C7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD42C7#FFFFFF#000000##FFFFFF
##AD42C71.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6BCB
Deuteranopia (green-blind)
#4B76C4
Tritanopia (blue-blind)
#AD5A7F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ad42c7;
/* rgb */ color: rgb(173, 66, 199);
/* oklch */ color: oklch(58.0% 0.211 319.2);
Tailwind
colors: {
  custom: {
    50: '#c97ed9',
    500: '#ad42c7',
    950: '#000000',
  },
}
SCSS
$custom: #ad42c7;
$custom-light: #c97ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42c7",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 288.271,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57988,
    "c": 0.21146,
    "h": 319.2
  },
  "luminance": 0.16904
}

Semantic roles & 50–950 ramp

primary
#AD42C7
secondary
#A1D095
accent
#DE4A67
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #AD42C7

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

Preview Lab → · Contrast checker → · Palette generator →

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