#A87DF1#A87DF1

#A87DF1 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.1% C 0.169 H 299.0°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A87DF1
RGBrgb(168, 125, 241)
HSLhsl(262, 81%, 72%)
HSVhsv(262, 48%, 95%)
CMYKcmyk(30.3%, 48.1%, 0%, 5.5%)
CIE-LABlab(61.08, 40.42, -52.54)
CIE-LCHlch(61.08, 66.29, 307.57°)
OKLaboklab(68.11% 0.0818 -0.1478)
OKLCHoklch(68.11% 0.169 299)
XYZxyz(39.3555, 29.3426, 86.7923)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DF1 #C6F17D
analogous
#7D8CF1 #A87DF1 #E27DF1
triadic
#A87DF1 #F1A87D #7DF1A8
tetradic
#A87DF1 #F17D8C #C6F17D #7DF1E2
square
#A87DF1 #F17D8C #C6F17D #7DF1E2
split-complementary
#A87DF1 #F1E27D #8CF17D
monochromatic
#6018DC #8346EB #A87DF1 #CDB4F7 #EDE3FC

Accessibility & contrast

On white

3.06
#A87DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#A87DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DF1
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DF1#FFFFFF#000000##000000
##A87DF11.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F5
Deuteranopia (green-blind)
#6192EE
Tritanopia (blue-blind)
#9993AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87df1;
/* rgb */ color: rgb(168, 125, 241);
/* oklch */ color: oklch(68.1% 0.169 299.0);
Tailwind
colors: {
  custom: {
    50: '#c5a3f6',
    500: '#a87df1',
    950: '#000000',
  },
}
SCSS
$custom: #a87df1;
$custom-light: #c5a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a87df1",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 262.241,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68107,
    "c": 0.16898,
    "h": 299
  },
  "luminance": 0.29343
}

Semantic roles & 50–950 ramp

primary
#A87DF1
secondary
#E9F4D6
accent
#DD098E
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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