#AD2FE2#AD2FE2

#AD2FE2 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 58.1% C 0.255 H 313.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AD2FE2
RGBrgb(173, 47, 226)
HSLhsl(282, 76%, 54%)
HSVhsv(282, 79%, 89%)
CMYKcmyk(23.5%, 79.2%, 0%, 11.4%)
CIE-LABlab(47.51, 74.01, -65.89)
CIE-LCHlch(47.51, 99.09, 318.32°)
OKLaboklab(58.09% 0.1741 -0.1865)
OKLCHoklch(58.09% 0.255 313)
XYZxyz(31.9751, 16.4093, 73.4197)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2FE2 #64E22F
analogous
#532FE2 #AD2FE2 #E22FBD
triadic
#AD2FE2 #E2AD2F #2FE2AD
tetradic
#AD2FE2 #E2532F #64E22F #2FBDE2
square
#AD2FE2 #E2532F #64E22F #2FBDE2
split-complementary
#AD2FE2 #BDE22F #2FE253
monochromatic
#621284 #8B1ABA #AD2FE2 #C265E9 #D79AF1

Accessibility & contrast

On white

4.90
#AD2FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AD2FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2FE2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2FE2#FFFFFF#000000##FFFFFF
##AD2FE21.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0F73DE
Tritanopia (blue-blind)
#A75C8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ad2fe2;
/* rgb */ color: rgb(173, 47, 226);
/* oklch */ color: oklch(58.1% 0.255 313.0);
Tailwind
colors: {
  custom: {
    50: '#cb77ec',
    500: '#ad2fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ad2fe2;
$custom-light: #cb77ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2fe2",
  "rgb": {
    "r": 173,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 282.235,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58093,
    "c": 0.25513,
    "h": 313
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#AD2FE2
secondary
#A7DD90
accent
#F2366D
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AD2FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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