#AD38E0#AD38E0

#AD38E0 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.7% C 0.245 H 313.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AD38E0
RGBrgb(173, 56, 224)
HSLhsl(282, 73%, 55%)
HSVhsv(282, 75%, 88%)
CMYKcmyk(22.8%, 75%, 0%, 12.2%)
CIE-LABlab(48.38, 70.70, -63.34)
CIE-LCHlch(48.38, 94.92, 318.14°)
OKLaboklab(58.66% 0.1673 -0.1791)
OKLCHoklch(58.66% 0.245 313.1)
XYZxyz(32.0999, 17.0954, 72.1154)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD38E0 #6BE038
analogous
#5938E0 #AD38E0 #E038BF
triadic
#AD38E0 #E0AD38 #38E0AD
tetradic
#AD38E0 #E05938 #6BE038 #38BFE0
square
#AD38E0 #E05938 #6BE038 #38BFE0
split-complementary
#AD38E0 #BFE038 #38E059
monochromatic
#651588 #8D1DBD #AD38E0 #C36DE8 #D9A2F0

Accessibility & contrast

On white

4.75
#AD38E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AD38E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD38E0
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD38E0#FFFFFF#000000##FFFFFF
##AD38E01.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#2475DC
Tritanopia (blue-blind)
#A75F8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ad38e0;
/* rgb */ color: rgb(173, 56, 224);
/* oklch */ color: oklch(58.7% 0.245 313.1);
Tailwind
colors: {
  custom: {
    50: '#ca7beb',
    500: '#ad38e0',
    950: '#000000',
  },
}
SCSS
$custom: #ad38e0;
$custom-light: #ca7beb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad38e0",
  "rgb": {
    "r": 173,
    "g": 56,
    "b": 224
  },
  "hsl": {
    "h": 281.786,
    "s": 73.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.24506,
    "h": 313.1
  },
  "luminance": 0.17094
}

Semantic roles & 50–950 ramp

primary
#AD38E0
secondary
#ACDD97
accent
#F03870
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AD38E0

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

Preview Lab → · Contrast checker → · Palette generator →

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