#AD87F4#AD87F4

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

Color values

HEX#AD87F4
RGBrgb(173, 135, 244)
HSLhsl(261, 83%, 74%)
HSVhsv(261, 45%, 96%)
CMYKcmyk(29.1%, 44.7%, 0%, 4.3%)
CIE-LABlab(63.95, 36.89, -49.62)
CIE-LCHlch(63.95, 61.82, 306.63°)
OKLaboklab(70.42% 0.075 -0.1392)
OKLCHoklch(70.42% 0.158 298.3)
XYZxyz(42.2228, 32.7435, 89.6661)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87F4 #CEF487
analogous
#8798F4 #AD87F4 #E387F4
triadic
#AD87F4 #F4AD87 #87F4AD
tetradic
#AD87F4 #F48798 #CEF487 #87F4E3
square
#AD87F4 #F48798 #CEF487 #87F4E3
split-complementary
#AD87F4 #F4E387 #98F487
monochromatic
#6017EA #874FEF #AD87F4 #D3BFF9 #ECE3FC

Accessibility & contrast

On white

2.78
#AD87F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#AD87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87F4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87F4#FFFFFF#000000##000000
##AD87F41.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF8
Deuteranopia (green-blind)
#6E9AF1
Tritanopia (blue-blind)
#9F9BB2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ad87f4;
/* rgb */ color: rgb(173, 135, 244);
/* oklch */ color: oklch(70.4% 0.158 298.3);
Tailwind
colors: {
  custom: {
    50: '#c8aaf8',
    500: '#ad87f4',
    950: '#000000',
  },
}
SCSS
$custom: #ad87f4;
$custom-light: #c8aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87f4",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 260.917,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70419,
    "c": 0.15813,
    "h": 298.3
  },
  "luminance": 0.32744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AD87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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