#AD42DB#AD42DB

#AD42DB is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.3% C 0.230 H 313.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AD42DB
RGBrgb(173, 66, 219)
HSLhsl(282, 68%, 56%)
HSVhsv(282, 70%, 86%)
CMYKcmyk(21%, 69.9%, 0%, 14.1%)
CIE-LABlab(49.37, 65.94, -58.89)
CIE-LCHlch(49.37, 88.41, 318.23°)
OKLaboklab(59.26% 0.1587 -0.1661)
OKLCHoklch(59.26% 0.23 313.7)
XYZxyz(31.9658, 17.8962, 68.7745)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42DB #70DB42
analogous
#6042DB #AD42DB #DB42BC
triadic
#AD42DB #DBAD42 #42DBAD
tetradic
#AD42DB #DB6042 #70DB42 #42BCDB
square
#AD42DB #DB6042 #70DB42 #42BCDB
split-complementary
#AD42DB #BCDB42 #42DB60
monochromatic
#671A89 #8E24BC #AD42DB #C375E5 #DAA9EF

Accessibility & contrast

On white

4.59
#AD42DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AD42DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AD42DB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD42DB#FFFFFF#000000##FFFFFF
##AD42DB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#3878D8
Tritanopia (blue-blind)
#A8628A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ad42db;
/* rgb */ color: rgb(173, 66, 219);
/* oklch */ color: oklch(59.3% 0.230 313.7);
Tailwind
colors: {
  custom: {
    50: '#ca7fe7',
    500: '#ad42db',
    950: '#000000',
  },
}
SCSS
$custom: #ad42db;
$custom-light: #ca7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42db",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 281.961,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59261,
    "c": 0.22969,
    "h": 313.7
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#AD42DB
secondary
#B0DC9D
accent
#EB3D71
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD42DB

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

Preview Lab → · Contrast checker → · Palette generator →

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