#AD40C3#AD40C3

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

Color values

HEX#AD40C3
RGBrgb(173, 64, 195)
HSLhsl(290, 52%, 51%)
HSVhsv(290, 67%, 76%)
CMYKcmyk(11.3%, 67.2%, 0%, 23.5%)
CIE-LABlab(47.61, 62.08, -47.92)
CIE-LCHlch(47.61, 78.43, 322.33°)
OKLaboklab(57.54% 0.1623 -0.1339)
OKLCHoklch(57.54% 0.21 320.5)
XYZxyz(28.9161, 16.4926, 53.2794)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40C3 #56C340
analogous
#6B40C3 #AD40C3 #C34097
triadic
#AD40C3 #C3AD40 #40C3AD
tetradic
#AD40C3 #C36B40 #56C340 #4097C3
square
#AD40C3 #C36B40 #56C340 #4097C3
split-complementary
#AD40C3 #97C340 #40C36B
monochromatic
#5C2168 #852F97 #AD40C3 #C16FD2 #D59DE0

Accessibility & contrast

On white

4.89
#AD40C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AD40C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD40C3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40C3#FFFFFF#000000##FFFFFF
##AD40C31.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1169C7
Deuteranopia (green-blind)
#4C75C0
Tritanopia (blue-blind)
#AE577C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ad40c3;
/* rgb */ color: rgb(173, 64, 195);
/* oklch */ color: oklch(57.5% 0.210 320.5);
Tailwind
colors: {
  custom: {
    50: '#c97dd6',
    500: '#ad40c3',
    950: '#000000',
  },
}
SCSS
$custom: #ad40c3;
$custom-light: #c97dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40c3",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 289.924,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.21042,
    "h": 320.5
  },
  "luminance": 0.16491
}

Semantic roles & 50–950 ramp

primary
#AD40C3
secondary
#9CCC92
accent
#DC4C64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AD40C3

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

Preview Lab → · Contrast checker → · Palette generator →

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