#AD42C8#AD42C8

#AD42C8 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.0% C 0.212 H 318.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AD42C8
RGBrgb(173, 66, 200)
HSLhsl(288, 55%, 52%)
HSVhsv(288, 67%, 78%)
CMYKcmyk(13.5%, 67%, 0%, 21.6%)
CIE-LABlab(48.20, 62.21, -49.88)
CIE-LCHlch(48.20, 79.74, 321.28°)
OKLaboklab(58.05% 0.16 -0.1397)
OKLCHoklch(58.05% 0.212 318.9)
XYZxyz(29.6057, 16.9521, 56.3450)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42C8 #5DC842
analogous
#6A42C8 #AD42C8 #C842A0
triadic
#AD42C8 #C8AD42 #42C8AD
tetradic
#AD42C8 #C86A42 #5DC842 #42A0C8
square
#AD42C8 #C86A42 #5DC842 #42A0C8
split-complementary
#AD42C8 #A0C842 #42C86A
monochromatic
#5F206F #882E9F #AD42C8 #C271D6 #D6A1E4

Accessibility & contrast

On white

4.78
#AD42C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AD42C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD42C8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD42C8#FFFFFF#000000##FFFFFF
##AD42C81.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096BCC
Deuteranopia (green-blind)
#4A76C5
Tritanopia (blue-blind)
#AD5A80
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ad42c8;
/* rgb */ color: rgb(173, 66, 200);
/* oklch */ color: oklch(58.0% 0.212 318.9);
Tailwind
colors: {
  custom: {
    50: '#c97ed9',
    500: '#ad42c8',
    950: '#000000',
  },
}
SCSS
$custom: #ad42c8;
$custom-light: #c97ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42c8",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 287.91,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58049,
    "c": 0.21237,
    "h": 318.9
  },
  "luminance": 0.16951
}

Semantic roles & 50–950 ramp

primary
#AD42C8
secondary
#A1D096
accent
#DE4A68
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AD42C8

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

Preview Lab → · Contrast checker → · Palette generator →

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