#AD87F2#AD87F2

#AD87F2 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.3% C 0.156 H 298.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#AD87F2
RGBrgb(173, 135, 242)
HSLhsl(261, 80%, 74%)
HSVhsv(261, 44%, 95%)
CMYKcmyk(28.5%, 44.2%, 0%, 5.1%)
CIE-LABlab(63.85, 36.40, -48.67)
CIE-LCHlch(63.85, 60.78, 306.79°)
OKLaboklab(70.31% 0.0748 -0.1364)
OKLCHoklch(70.31% 0.156 298.7)
XYZxyz(41.9208, 32.6227, 88.0754)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87F2 #CCF287
analogous
#8797F2 #AD87F2 #E287F2
triadic
#AD87F2 #F2AD87 #87F2AD
tetradic
#AD87F2 #F28797 #CCF287 #87F2E2
square
#AD87F2 #F28797 #CCF287 #87F2E2
split-complementary
#AD87F2 #F2E287 #97F287
monochromatic
#6219E6 #8750EC #AD87F2 #D3BEF8 #ECE3FC

Accessibility & contrast

On white

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

On black

7.52
#AD87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87F2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87F2#FFFFFF#000000##000000
##AD87F21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ad87f2;
/* rgb */ color: rgb(173, 135, 242);
/* oklch */ color: oklch(70.3% 0.156 298.7);
Tailwind
colors: {
  custom: {
    50: '#c8aaf7',
    500: '#ad87f2',
    950: '#000000',
  },
}
SCSS
$custom: #ad87f2;
$custom-light: #c8aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87f2",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 261.308,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70312,
    "c": 0.15557,
    "h": 298.7
  },
  "luminance": 0.32623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AD87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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