#AD23E2#AD23E2

#AD23E2 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.3% C 0.264 H 313.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AD23E2
RGBrgb(173, 35, 226)
HSLhsl(283, 77%, 51%)
HSVhsv(283, 85%, 89%)
CMYKcmyk(23.5%, 84.5%, 0%, 11.4%)
CIE-LABlab(46.42, 77.20, -67.66)
CIE-LCHlch(46.42, 102.65, 318.77°)
OKLaboklab(57.33% 0.1819 -0.1916)
OKLCHoklch(57.33% 0.264 313.5)
XYZxyz(31.5596, 15.5784, 73.2812)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD23E2 #58E223
analogous
#4D23E2 #AD23E2 #E223B7
triadic
#AD23E2 #E2AD23 #23E2AD
tetradic
#AD23E2 #E24D23 #58E223 #23B7E2
square
#AD23E2 #E24D23 #58E223 #23B7E2
split-complementary
#AD23E2 #B7E223 #23E24D
monochromatic
#5D107A #8617B1 #AD23E2 #C159E9 #D58FF0

Accessibility & contrast

On white

5.10
#AD23E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AD23E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD23E2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD23E2#FFFFFF#000000##FFFFFF
##AD23E21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#0071DE
Tritanopia (blue-blind)
#A75788
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ad23e2;
/* rgb */ color: rgb(173, 35, 226);
/* oklch */ color: oklch(57.3% 0.264 313.5);
Tailwind
colors: {
  custom: {
    50: '#cb73ec',
    500: '#ad23e2',
    950: '#000000',
  },
}
SCSS
$custom: #ad23e2;
$custom-light: #cb73ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ad23e2",
  "rgb": {
    "r": 173,
    "g": 35,
    "b": 226
  },
  "hsl": {
    "h": 283.351,
    "s": 76.707,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.26419,
    "h": 313.5
  },
  "luminance": 0.15577
}

Semantic roles & 50–950 ramp

primary
#AD23E2
secondary
#9EDB86
accent
#F33569
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140916
muted
#837B84

Preview Lab

Preview with #AD23E2

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

Preview Lab → · Contrast checker → · Palette generator →

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