#AD4ECA#AD4ECA

#AD4ECA is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.5% C 0.198 H 317.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AD4ECA
RGBrgb(173, 78, 202)
HSLhsl(286, 54%, 55%)
HSVhsv(286, 61%, 79%)
CMYKcmyk(14.4%, 61.4%, 0%, 20.8%)
CIE-LABlab(50.21, 57.35, -47.82)
CIE-LCHlch(50.21, 74.67, 320.18°)
OKLaboklab(59.54% 0.1461 -0.1337)
OKLCHoklch(59.54% 0.198 317.5)
XYZxyz(30.6171, 18.5985, 57.8428)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD4ECA #6BCA4E
analogous
#6F4ECA #AD4ECA #CA4EA9
triadic
#AD4ECA #CAAD4E #4ECAAD
tetradic
#AD4ECA #CA6F4E #6BCA4E #4EA9CA
square
#AD4ECA #CA6F4E #6BCA4E #4EA9CA
split-complementary
#AD4ECA #A9CA4E #4ECA6F
monochromatic
#652479 #8D32A8 #AD4ECA #C37DD8 #D9ACE6

Accessibility & contrast

On white

4.45
#AD4ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AD4ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD4ECA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD4ECA#FFFFFF#000000##000000
##AD4ECA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A71CE
Deuteranopia (green-blind)
#527AC7
Tritanopia (blue-blind)
#AC6385
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ad4eca;
/* rgb */ color: rgb(173, 78, 202);
/* oklch */ color: oklch(59.5% 0.198 317.5);
Tailwind
colors: {
  custom: {
    50: '#c985db',
    500: '#ad4eca',
    950: '#000000',
  },
}
SCSS
$custom: #ad4eca;
$custom-light: #c985db;
$custom-dark: #000000;
JSON
{
  "hex": "#ad4eca",
  "rgb": {
    "r": 173,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 285.968,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.19807,
    "h": 317.5
  },
  "luminance": 0.18597
}

Semantic roles & 50–950 ramp

primary
#AD4ECA
secondary
#ACD4A0
accent
#DD4B6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AD4ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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