#A87DF7#A87DF7

#A87DF7 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.4% C 0.176 H 297.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A87DF7
RGBrgb(168, 125, 247)
HSLhsl(261, 88%, 73%)
HSVhsv(261, 49%, 97%)
CMYKcmyk(32%, 49.4%, 0%, 3.1%)
CIE-LABlab(61.40, 41.90, -55.35)
CIE-LCHlch(61.40, 69.42, 307.13°)
OKLaboklab(68.45% 0.0824 -0.156)
OKLCHoklch(68.45% 0.176 297.8)
XYZxyz(40.2665, 29.7070, 91.5903)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DF7 #CCF77D
analogous
#7D8FF7 #A87DF7 #E57DF7
triadic
#A87DF7 #F7A87D #7DF7A8
tetradic
#A87DF7 #F77D8F #CCF77D #7DF7E5
square
#A87DF7 #F77D8F #CCF77D #7DF7E5
split-complementary
#A87DF7 #F7E57D #8FF77D
monochromatic
#5C0EEB #8143F3 #A87DF7 #CFB7FB #ECE2FD

Accessibility & contrast

On white

3.03
#A87DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#A87DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DF7
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DF7#FFFFFF#000000##000000
##A87DF71.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FB
Deuteranopia (green-blind)
#5D93F4
Tritanopia (blue-blind)
#9794AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87df7;
/* rgb */ color: rgb(168, 125, 247);
/* oklch */ color: oklch(68.4% 0.176 297.8);
Tailwind
colors: {
  custom: {
    50: '#c5a3fa',
    500: '#a87df7',
    950: '#000000',
  },
}
SCSS
$custom: #a87df7;
$custom-light: #c5a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a87df7",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 261.148,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68448,
    "c": 0.17647,
    "h": 297.8
  },
  "luminance": 0.29707
}

Semantic roles & 50–950 ramp

primary
#A87DF7
secondary
#EAF5D6
accent
#E50094
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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