#A87DFB#A87DFB

#A87DFB is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.7% C 0.181 H 297.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A87DFB
RGBrgb(168, 125, 251)
HSLhsl(260, 94%, 74%)
HSVhsv(260, 50%, 98%)
CMYKcmyk(33.1%, 50.2%, 0%, 1.6%)
CIE-LABlab(61.62, 42.90, -57.21)
CIE-LCHlch(61.62, 71.50, 306.87°)
OKLaboklab(68.68% 0.0827 -0.1615)
OKLCHoklch(68.68% 0.181 297.1)
XYZxyz(40.8903, 29.9566, 94.8760)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DFB #D0FB7D
analogous
#7D91FB #A87DFB #E77DFB
triadic
#A87DFB #FBA87D #7DFBA8
tetradic
#A87DFB #FB7D91 #D0FB7D #7DFBE7
square
#A87DFB #FB7D91 #D0FB7D #7DFBE7
split-complementary
#A87DFB #FBE77D #91FB7D
monochromatic
#5908F6 #8042F9 #A87DFB #D0B8FD #EBE1FE

Accessibility & contrast

On white

3.00
#A87DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#A87DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DFB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DFB#FFFFFF#000000##000000
##A87DFB1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FF
Deuteranopia (green-blind)
#5993F8
Tritanopia (blue-blind)
#9695B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a87dfb;
/* rgb */ color: rgb(168, 125, 251);
/* oklch */ color: oklch(68.7% 0.181 297.1);
Tailwind
colors: {
  custom: {
    50: '#c5a3fd',
    500: '#a87dfb',
    950: '#000000',
  },
}
SCSS
$custom: #a87dfb;
$custom-light: #c5a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a87dfb",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 260.476,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68679,
    "c": 0.18145,
    "h": 297.1
  },
  "luminance": 0.29957
}

Semantic roles & 50–950 ramp

primary
#A87DFB
secondary
#EBF6D5
accent
#E60097
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A87DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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