#A87FF9#A87FF9

#A87FF9 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.176 H 297.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A87FF9
RGBrgb(168, 127, 249)
HSLhsl(260, 91%, 74%)
HSVhsv(260, 49%, 98%)
CMYKcmyk(32.5%, 49%, 0%, 2.4%)
CIE-LABlab(61.95, 41.29, -55.58)
CIE-LCHlch(61.95, 69.24, 306.61°)
OKLaboklab(68.89% 0.08 -0.1567)
OKLCHoklch(68.89% 0.176 297.1)
XYZxyz(40.8325, 30.3426, 93.3096)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FF9 #D0F97F
analogous
#7F93F9 #A87FF9 #E57FF9
triadic
#A87FF9 #F9A87F #7FF9A8
tetradic
#A87FF9 #F97F93 #D0F97F #7FF9E5
square
#A87FF9 #F97F93 #D0F97F #7FF9E5
split-complementary
#A87FF9 #F9E57F #93F97F
monochromatic
#590BF2 #8045F6 #A87FF9 #D0B9FC #EBE2FE

Accessibility & contrast

On white

2.97
#A87FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#A87FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A87FF9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FF9#FFFFFF#000000##000000
##A87FF91.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FD
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#9696B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a87ff9;
/* rgb */ color: rgb(168, 127, 249);
/* oklch */ color: oklch(68.9% 0.176 297.1);
Tailwind
colors: {
  custom: {
    50: '#c5a5fc',
    500: '#a87ff9',
    950: '#000000',
  },
}
SCSS
$custom: #a87ff9;
$custom-light: #c5a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ff9",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 260.164,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68891,
    "c": 0.17598,
    "h": 297.1
  },
  "luminance": 0.30343
}

Semantic roles & 50–950 ramp

primary
#A87FF9
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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