#AD87F3#AD87F3

#AD87F3 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.4% C 0.157 H 298.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#AD87F3
RGBrgb(173, 135, 243)
HSLhsl(261, 82%, 74%)
HSVhsv(261, 44%, 95%)
CMYKcmyk(28.8%, 44.4%, 0%, 4.7%)
CIE-LABlab(63.90, 36.64, -49.14)
CIE-LCHlch(63.90, 61.30, 306.71°)
OKLaboklab(70.36% 0.0749 -0.1378)
OKLCHoklch(70.36% 0.157 298.5)
XYZxyz(42.0714, 32.6829, 88.8686)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87F3 #CDF387
analogous
#8797F3 #AD87F3 #E387F3
triadic
#AD87F3 #F3AD87 #87F3AD
tetradic
#AD87F3 #F38797 #CDF387 #87F3E3
square
#AD87F3 #F38797 #CDF387 #87F3E3
split-complementary
#AD87F3 #F3E387 #97F387
monochromatic
#6118E8 #874FED #AD87F3 #D3BFF9 #ECE3FC

Accessibility & contrast

On white

2.79
#AD87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#AD87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87F3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87F3#FFFFFF#000000##000000
##AD87F31.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF7
Deuteranopia (green-blind)
#6F9AF0
Tritanopia (blue-blind)
#9F9AB1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ad87f3;
/* rgb */ color: rgb(173, 135, 243);
/* oklch */ color: oklch(70.4% 0.157 298.5);
Tailwind
colors: {
  custom: {
    50: '#c8aaf7',
    500: '#ad87f3',
    950: '#000000',
  },
}
SCSS
$custom: #ad87f3;
$custom-light: #c8aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87f3",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 261.111,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70365,
    "c": 0.15686,
    "h": 298.5
  },
  "luminance": 0.32683
}

Semantic roles & 50–950 ramp

primary
#AD87F3
secondary
#EAF4D7
accent
#DE0793
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AD87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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