#A87FFB#A87FFB

#A87FFB is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.0% C 0.178 H 296.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A87FFB
RGBrgb(168, 127, 251)
HSLhsl(260, 94%, 74%)
HSVhsv(260, 49%, 98%)
CMYKcmyk(33.1%, 49.4%, 0%, 1.6%)
CIE-LABlab(62.06, 41.79, -56.51)
CIE-LCHlch(62.06, 70.28, 306.49°)
OKLaboklab(69.01% 0.0802 -0.1594)
OKLCHoklch(69.01% 0.178 296.7)
XYZxyz(41.1461, 30.4680, 94.9612)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FFB #D2FB7F
analogous
#7F94FB #A87FFB #E67FFB
triadic
#A87FFB #FBA87F #7FFBA8
tetradic
#A87FFB #FB7F94 #D2FB7F #7FFBE6
square
#A87FFB #FB7F94 #D2FB7F #7FFBE6
split-complementary
#A87FFB #FBE67F #94FB7F
monochromatic
#5708F7 #8044F9 #A87FFB #D0BAFD #EBE1FE

Accessibility & contrast

On white

2.96
#A87FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#A87FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A87FFB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FFB#FFFFFF#000000##000000
##A87FFB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#5C94F8
Tritanopia (blue-blind)
#9697B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a87ffb;
/* rgb */ color: rgb(168, 127, 251);
/* oklch */ color: oklch(69.0% 0.178 296.7);
Tailwind
colors: {
  custom: {
    50: '#c5a5fd',
    500: '#a87ffb',
    950: '#000000',
  },
}
SCSS
$custom: #a87ffb;
$custom-light: #c5a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ffb",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 259.839,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69006,
    "c": 0.17848,
    "h": 296.7
  },
  "luminance": 0.30469
}

Semantic roles & 50–950 ramp

primary
#A87FFB
secondary
#EBF6D5
accent
#E6009A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A87FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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