#AD40C2#AD40C2

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

Color values

HEX#AD40C2
RGBrgb(173, 64, 194)
HSLhsl(290, 52%, 51%)
HSVhsv(290, 67%, 76%)
CMYKcmyk(10.8%, 67%, 0%, 23.9%)
CIE-LABlab(47.56, 61.90, -47.44)
CIE-LCHlch(47.56, 77.98, 322.53°)
OKLaboklab(57.47% 0.1623 -0.1325)
OKLCHoklch(57.47% 0.21 320.8)
XYZxyz(28.8034, 16.4475, 52.6860)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40C2 #55C240
analogous
#6C40C2 #AD40C2 #C24096
triadic
#AD40C2 #C2AD40 #40C2AD
tetradic
#AD40C2 #C26C40 #55C240 #4096C2
square
#AD40C2 #C26C40 #55C240 #4096C2
split-complementary
#AD40C2 #96C240 #40C26C
monochromatic
#5B2167 #853095 #AD40C2 #C16ED1 #D59DE0

Accessibility & contrast

On white

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

On black

4.29
#AD40C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AD40C2#FFFFFF#000000##FFFFFF
##AD40C21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1469C6
Deuteranopia (green-blind)
#4D75BF
Tritanopia (blue-blind)
#AE577C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ad40c2;
/* rgb */ color: rgb(173, 64, 194);
/* oklch */ color: oklch(57.5% 0.210 320.8);
Tailwind
colors: {
  custom: {
    50: '#c97dd5',
    500: '#ad40c2',
    950: '#000000',
  },
}
SCSS
$custom: #ad40c2;
$custom-light: #c97dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40c2",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 290.308,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57474,
    "c": 0.20955,
    "h": 320.8
  },
  "luminance": 0.16446
}

Semantic roles & 50–950 ramp

primary
#AD40C2
secondary
#9BCC92
accent
#DB4D64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AD40C2

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

Preview Lab → · Contrast checker → · Palette generator →

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