#A87DFC#A87DFC

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

Color values

HEX#A87DFC
RGBrgb(168, 125, 252)
HSLhsl(260, 95%, 74%)
HSVhsv(260, 50%, 99%)
CMYKcmyk(33.3%, 50.4%, 0%, 1.2%)
CIE-LABlab(61.67, 43.15, -57.67)
CIE-LCHlch(61.67, 72.02, 306.81°)
OKLaboklab(68.74% 0.0828 -0.1628)
OKLCHoklch(68.74% 0.183 297)
XYZxyz(41.0484, 30.0198, 95.7083)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DFC #D1FC7D
analogous
#7D92FC #A87DFC #E87DFC
triadic
#A87DFC #FCA87D #7DFCA8
tetradic
#A87DFC #FC7D92 #D1FC7D #7DFCE8
square
#A87DFC #FC7D92 #D1FC7D #7DFCE8
split-complementary
#A87DFC #FCE87D #92FC7D
monochromatic
#5806F9 #8041FB #A87DFC #D0B9FD #EBE1FE

Accessibility & contrast

On white

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

On black

7.00
#A87DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A87DFC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DFC#FFFFFF#000000##000000
##A87DFC1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#5893F9
Tritanopia (blue-blind)
#9596B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a87dfc;
/* rgb */ color: rgb(168, 125, 252);
/* oklch */ color: oklch(68.7% 0.183 297.0);
Tailwind
colors: {
  custom: {
    50: '#c5a3fe',
    500: '#a87dfc',
    950: '#000000',
  },
}
SCSS
$custom: #a87dfc;
$custom-light: #c5a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a87dfc",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 260.315,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68737,
    "c": 0.18269,
    "h": 297
  },
  "luminance": 0.3002
}

Semantic roles & 50–950 ramp

primary
#A87DFC
secondary
#EBF7D4
accent
#E60098
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A87DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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