#AD87FB#AD87FB

#AD87FB is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.8% C 0.167 H 297.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#AD87FB
RGBrgb(173, 135, 251)
HSLhsl(260, 94%, 76%)
HSVhsv(260, 46%, 98%)
CMYKcmyk(31.1%, 46.2%, 0%, 1.6%)
CIE-LABlab(64.30, 38.61, -52.90)
CIE-LCHlch(64.30, 65.49, 306.12°)
OKLaboklab(70.8% 0.076 -0.1488)
OKLCHoklch(70.8% 0.167 297)
XYZxyz(43.3059, 33.1767, 95.3703)
Luminance0.3318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87FB #D5FB87
analogous
#879BFB #AD87FB #E787FB
triadic
#AD87FB #FBAD87 #87FBAD
tetradic
#AD87FB #FB879B #D5FB87 #87FBE7
square
#AD87FB #FB879B #D5FB87 #87FBE7
split-complementary
#AD87FB #FBE787 #9BFB87
monochromatic
#5C11F7 #854CF9 #AD87FB #D5C2FD #EBE1FE

Accessibility & contrast

On white

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

On black

7.64
#AD87FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87FB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87FB#FFFFFF#000000##000000
##AD87FB1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFF
Deuteranopia (green-blind)
#699BF8
Tritanopia (blue-blind)
#9C9DB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ad87fb;
/* rgb */ color: rgb(173, 135, 251);
/* oklch */ color: oklch(70.8% 0.167 297.0);
Tailwind
colors: {
  custom: {
    50: '#c8aafd',
    500: '#ad87fb',
    950: '#000000',
  },
}
SCSS
$custom: #ad87fb;
$custom-light: #c8aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87fb",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 259.655,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70796,
    "c": 0.16704,
    "h": 297
  },
  "luminance": 0.33177
}

Semantic roles & 50–950 ramp

primary
#AD87FB
secondary
#EBF6D5
accent
#E6009A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AD87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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