#AD87FA#AD87FA

#AD87FA is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.7% C 0.166 H 297.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#AD87FA
RGBrgb(173, 135, 250)
HSLhsl(260, 92%, 75%)
HSVhsv(260, 46%, 98%)
CMYKcmyk(30.8%, 46%, 0%, 2%)
CIE-LABlab(64.25, 38.36, -52.44)
CIE-LCHlch(64.25, 64.97, 306.19°)
OKLaboklab(70.74% 0.0758 -0.1474)
OKLCHoklch(70.74% 0.166 297.2)
XYZxyz(43.1487, 33.1138, 94.5423)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87FA #D4FA87
analogous
#879AFA #AD87FA #E687FA
triadic
#AD87FA #FAAD87 #87FAAD
tetradic
#AD87FA #FA879A #D4FA87 #87FAE6
square
#AD87FA #FA879A #D4FA87 #87FAE6
split-complementary
#AD87FA #FAE687 #9AFA87
monochromatic
#5D11F5 #854CF8 #AD87FA #D5C2FC #EBE2FE

Accessibility & contrast

On white

2.75
#AD87FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#AD87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87FA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87FA#FFFFFF#000000##000000
##AD87FA1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#6A9AF7
Tritanopia (blue-blind)
#9D9CB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ad87fa;
/* rgb */ color: rgb(173, 135, 250);
/* oklch */ color: oklch(70.7% 0.166 297.2);
Tailwind
colors: {
  custom: {
    50: '#c8aafc',
    500: '#ad87fa',
    950: '#000000',
  },
}
SCSS
$custom: #ad87fa;
$custom-light: #c8aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87fa",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 259.826,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70742,
    "c": 0.16578,
    "h": 297.2
  },
  "luminance": 0.33114
}

Semantic roles & 50–950 ramp

primary
#AD87FA
secondary
#EBF6D5
accent
#E6009A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AD87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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