#AD40E3#AD40E3

#AD40E3 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.6% C 0.239 H 311.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AD40E3
RGBrgb(173, 64, 227)
HSLhsl(280, 74%, 57%)
HSVhsv(280, 72%, 89%)
CMYKcmyk(23.8%, 71.8%, 0%, 11%)
CIE-LABlab(49.61, 68.35, -63.04)
CIE-LCHlch(49.61, 92.98, 317.31°)
OKLaboklab(59.6% 0.1596 -0.1782)
OKLCHoklch(59.6% 0.239 311.8)
XYZxyz(32.9295, 18.0980, 74.4167)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD40E3 #76E340
analogous
#5C40E3 #AD40E3 #E340C7
triadic
#AD40E3 #E3AD40 #40E3AD
tetradic
#AD40E3 #E35C40 #76E340 #40C7E3
square
#AD40E3 #E35C40 #76E340 #40C7E3
split-complementary
#AD40E3 #C7E340 #40E35C
monochromatic
#691693 #901DC8 #AD40E3 #C475EB #DBABF3

Accessibility & contrast

On white

4.55
#AD40E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AD40E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD40E3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD40E3#FFFFFF#000000##000000
##AD40E31.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#2978DF
Tritanopia (blue-blind)
#A6648E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ad40e3;
/* rgb */ color: rgb(173, 64, 227);
/* oklch */ color: oklch(59.6% 0.239 311.8);
Tailwind
colors: {
  custom: {
    50: '#ca7eed',
    500: '#ad40e3',
    950: '#000000',
  },
}
SCSS
$custom: #ad40e3;
$custom-light: #ca7eed;
$custom-dark: #000000;
JSON
{
  "hex": "#ad40e3",
  "rgb": {
    "r": 173,
    "g": 64,
    "b": 227
  },
  "hsl": {
    "h": 280.123,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59601,
    "c": 0.23929,
    "h": 311.8
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#AD40E3
secondary
#B4E19E
accent
#F13774
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AD40E3

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

Preview Lab → · Contrast checker → · Palette generator →

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