#A87DF3#A87DF3

#A87DF3 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.2% C 0.171 H 298.6°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A87DF3
RGBrgb(168, 125, 243)
HSLhsl(262, 83%, 72%)
HSVhsv(262, 49%, 95%)
CMYKcmyk(30.9%, 48.6%, 0%, 4.7%)
CIE-LABlab(61.19, 40.91, -53.48)
CIE-LCHlch(61.19, 67.33, 307.42°)
OKLaboklab(68.22% 0.082 -0.1506)
OKLCHoklch(68.22% 0.171 298.6)
XYZxyz(39.6558, 29.4628, 88.3743)
Luminance0.2946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DF3 #C8F37D
analogous
#7D8DF3 #A87DF3 #E37DF3
triadic
#A87DF3 #F3A87D #7DF3A8
tetradic
#A87DF3 #F37D8D #C8F37D #7DF3E3
square
#A87DF3 #F37D8D #C8F37D #7DF3E3
split-complementary
#A87DF3 #F3E37D #8DF37D
monochromatic
#5F15E1 #8345EE #A87DF3 #CDB5F8 #ECE3FC

Accessibility & contrast

On white

3.05
#A87DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#A87DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DF3
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DF3#FFFFFF#000000##000000
##A87DF31.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5594F7
Deuteranopia (green-blind)
#6093F0
Tritanopia (blue-blind)
#9893AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87df3;
/* rgb */ color: rgb(168, 125, 243);
/* oklch */ color: oklch(68.2% 0.171 298.6);
Tailwind
colors: {
  custom: {
    50: '#c5a3f7',
    500: '#a87df3',
    950: '#000000',
  },
}
SCSS
$custom: #a87df3;
$custom-light: #c5a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a87df3",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 261.864,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6822,
    "c": 0.17147,
    "h": 298.6
  },
  "luminance": 0.29463
}

Semantic roles & 50–950 ramp

primary
#A87DF3
secondary
#EAF4D7
accent
#E00690
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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