#AD2EDA#AD2EDA

#AD2EDA is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.5% C 0.249 H 315.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AD2EDA
RGBrgb(173, 46, 218)
HSLhsl(284, 70%, 52%)
HSVhsv(284, 79%, 85%)
CMYKcmyk(20.6%, 78.9%, 0%, 14.5%)
CIE-LABlab(46.84, 72.78, -62.40)
CIE-LCHlch(46.84, 95.87, 319.39°)
OKLaboklab(57.45% 0.1764 -0.1762)
OKLCHoklch(57.45% 0.249 315)
XYZxyz(30.8634, 15.9013, 67.7596)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2EDA #5BDA2E
analogous
#572EDA #AD2EDA #DA2EB1
triadic
#AD2EDA #DAAD2E #2EDAAD
tetradic
#AD2EDA #DA572E #5BDA2E #2EB1DA
square
#AD2EDA #DA572E #5BDA2E #2EB1DA
split-complementary
#AD2EDA #B1DA2E #2EDA57
monochromatic
#5E1578 #871FAC #AD2EDA #C162E3 #D696EC

Accessibility & contrast

On white

5.02
#AD2EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AD2EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2EDA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2EDA#FFFFFF#000000##FFFFFF
##AD2EDA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#2372D6
Tritanopia (blue-blind)
#A95785
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ad2eda;
/* rgb */ color: rgb(173, 46, 218);
/* oklch */ color: oklch(57.5% 0.249 315.0);
Tailwind
colors: {
  custom: {
    50: '#ca76e6',
    500: '#ad2eda',
    950: '#000000',
  },
}
SCSS
$custom: #ad2eda;
$custom-light: #ca76e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2eda",
  "rgb": {
    "r": 173,
    "g": 46,
    "b": 218
  },
  "hsl": {
    "h": 284.302,
    "s": 69.919,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57453,
    "c": 0.24934,
    "h": 315
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#AD2EDA
secondary
#A0D88C
accent
#ED3B6A
background
#FDF7FE
surface
#FAEEFC
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AD2EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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