#AD42D7#AD42D7

#AD42D7 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.226 H 314.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AD42D7
RGBrgb(173, 66, 215)
HSLhsl(283, 65%, 55%)
HSVhsv(283, 69%, 84%)
CMYKcmyk(19.5%, 69.3%, 0%, 15.7%)
CIE-LABlab(49.12, 65.14, -57.02)
CIE-LCHlch(49.12, 86.58, 318.80°)
OKLaboklab(59% 0.159 -0.1606)
OKLCHoklch(59% 0.226 314.7)
XYZxyz(31.4455, 17.6880, 66.0345)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42D7 #6CD742
analogous
#6242D7 #AD42D7 #D742B7
triadic
#AD42D7 #D7AD42 #42D7AD
tetradic
#AD42D7 #D76242 #6CD742 #42B7D7
square
#AD42D7 #D76242 #6CD742 #42B7D7
split-complementary
#AD42D7 #B7D742 #42D762
monochromatic
#661C83 #8D26B5 #AD42D7 #C375E2 #D9A7EC

Accessibility & contrast

On white

4.63
#AD42D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AD42D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AD42D7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD42D7#FFFFFF#000000##FFFFFF
##AD42D71.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#3C77D4
Tritanopia (blue-blind)
#A96088
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ad42d7;
/* rgb */ color: rgb(173, 66, 215);
/* oklch */ color: oklch(59.0% 0.226 314.7);
Tailwind
colors: {
  custom: {
    50: '#ca7fe4',
    500: '#ad42d7',
    950: '#000000',
  },
}
SCSS
$custom: #ad42d7;
$custom-light: #ca7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42d7",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 283.087,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58999,
    "c": 0.22602,
    "h": 314.7
  },
  "luminance": 0.17687
}

Semantic roles & 50–950 ramp

primary
#AD42D7
secondary
#ADDA9B
accent
#E8406F
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD42D7

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

Preview Lab → · Contrast checker → · Palette generator →

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