#A87CFD#A87CFD

#A87CFD is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.6% C 0.185 H 297.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A87CFD
RGBrgb(168, 124, 253)
HSLhsl(260, 97%, 74%)
HSVhsv(260, 51%, 99%)
CMYKcmyk(33.6%, 51%, 0%, 0.8%)
CIE-LABlab(61.51, 43.95, -58.48)
CIE-LCHlch(61.51, 73.15, 306.93°)
OKLaboklab(68.63% 0.0841 -0.1652)
OKLCHoklch(68.63% 0.185 297)
XYZxyz(41.0813, 29.8314, 96.5031)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CFD #D1FD7C
analogous
#7C91FD #A87CFD #E87CFD
triadic
#A87CFD #FDA87C #7CFDA8
tetradic
#A87CFD #FD7C91 #D1FD7C #7CFDE8
square
#A87CFD #FD7C91 #D1FD7C #7CFDE8
split-complementary
#A87CFD #FDE87C #91FD7C
monochromatic
#5804FB #8040FC #A87CFD #D0B8FE #EBE1FF

Accessibility & contrast

On white

3.01
#A87CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#A87CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CFD
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CFD#FFFFFF#000000##000000
##A87CFD1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#5693FA
Tritanopia (blue-blind)
#9595B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87cfd;
/* rgb */ color: rgb(168, 124, 253);
/* oklch */ color: oklch(68.6% 0.185 297.0);
Tailwind
colors: {
  custom: {
    50: '#c6a3ff',
    500: '#a87cfd',
    950: '#000000',
  },
}
SCSS
$custom: #a87cfd;
$custom-light: #c6a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cfd",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 260.465,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68633,
    "c": 0.1854,
    "h": 297
  },
  "luminance": 0.29832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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