#A87FDF#A87FDF

#A87FDF is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.5% C 0.143 H 302.4°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A87FDF
RGBrgb(168, 127, 223)
HSLhsl(266, 60%, 69%)
HSVhsv(266, 43%, 87%)
CMYKcmyk(24.7%, 43%, 0%, 12.5%)
CIE-LABlab(60.63, 34.95, -43.25)
CIE-LCHlch(60.63, 55.60, 308.94°)
OKLaboklab(67.48% 0.0767 -0.1208)
OKLCHoklch(67.48% 0.143 302.4)
XYZxyz(37.0542, 28.8313, 73.4106)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FDF #B6DF7F
analogous
#7F86DF #A87FDF #D87FDF
triadic
#A87FDF #DFA87F #7FDFA8
tetradic
#A87FDF #DF7F86 #B6DF7F #7FDFD8
square
#A87FDF #DF7F86 #B6DF7F #7FDFD8
split-complementary
#A87FDF #DFD87F #86DF7F
monochromatic
#682EB6 #874ED3 #A87FDF #C9B0EB #EBE1F7

Accessibility & contrast

On white

3.10
#A87FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#A87FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FDF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FDF#FFFFFF#000000##000000
##A87FDF1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6691E3
Deuteranopia (green-blind)
#6F92DD
Tritanopia (blue-blind)
#9E8FA4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87fdf;
/* rgb */ color: rgb(168, 127, 223);
/* oklch */ color: oklch(67.5% 0.143 302.4);
Tailwind
colors: {
  custom: {
    50: '#c4a5e9',
    500: '#a87fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a87fdf;
$custom-light: #c4a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fdf",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 265.625,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67476,
    "c": 0.1431,
    "h": 302.4
  },
  "luminance": 0.28831
}

Semantic roles & 50–950 ramp

primary
#A87FDF
secondary
#DFEBCF
accent
#C81E7F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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