#AD42CB#AD42CB

#AD42CB is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.215 H 318.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AD42CB
RGBrgb(173, 66, 203)
HSLhsl(287, 57%, 53%)
HSVhsv(287, 67%, 80%)
CMYKcmyk(14.8%, 67.5%, 0%, 20.4%)
CIE-LABlab(48.38, 62.79, -51.32)
CIE-LCHlch(48.38, 81.10, 320.74°)
OKLaboklab(58.24% 0.1598 -0.1439)
OKLCHoklch(58.24% 0.215 318)
XYZxyz(29.9598, 17.0938, 58.2096)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD42CB #60CB42
analogous
#6842CB #AD42CB #CB42A5
triadic
#AD42CB #CBAD42 #42CBAD
tetradic
#AD42CB #CB6842 #60CB42 #42A5CB
square
#AD42CB #CB6842 #60CB42 #42A5CB
split-complementary
#AD42CB #A5CB42 #42CB68
monochromatic
#612073 #892DA3 #AD42CB #C272D8 #D7A2E5

Accessibility & contrast

On white

4.75
#AD42CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AD42CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD42CB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD42CB#FFFFFF#000000##FFFFFF
##AD42CB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#4876C8
Tritanopia (blue-blind)
#AC5C81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ad42cb;
/* rgb */ color: rgb(173, 66, 203);
/* oklch */ color: oklch(58.2% 0.215 318.0);
Tailwind
colors: {
  custom: {
    50: '#c97fdb',
    500: '#ad42cb',
    950: '#000000',
  },
}
SCSS
$custom: #ad42cb;
$custom-light: #c97fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad42cb",
  "rgb": {
    "r": 173,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 286.861,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58235,
    "c": 0.21507,
    "h": 318
  },
  "luminance": 0.17092
}

Semantic roles & 50–950 ramp

primary
#AD42CB
secondary
#A4D297
accent
#E04869
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AD42CB

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

Preview Lab → · Contrast checker → · Palette generator →

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