#A87FF7#A87FF7

#A87FF7 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.8% C 0.173 H 297.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A87FF7
RGBrgb(168, 127, 247)
HSLhsl(261, 88%, 73%)
HSVhsv(261, 49%, 97%)
CMYKcmyk(32%, 48.6%, 0%, 3.1%)
CIE-LABlab(61.84, 40.79, -54.64)
CIE-LCHlch(61.84, 68.19, 306.74°)
OKLaboklab(68.78% 0.0799 -0.154)
OKLCHoklch(68.78% 0.173 297.4)
XYZxyz(40.5222, 30.2185, 91.6755)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FF7 #CEF77F
analogous
#7F92F7 #A87FF7 #E47FF7
triadic
#A87FF7 #F7A87F #7FF7A8
tetradic
#A87FF7 #F77F92 #CEF77F #7FF7E4
square
#A87FF7 #F77F92 #CEF77F #7FF7E4
split-complementary
#A87FF7 #F7E47F #92F77F
monochromatic
#5B0FED #8145F3 #A87FF7 #CFB9FB #EBE2FD

Accessibility & contrast

On white

2.98
#A87FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#A87FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A87FF7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FF7#FFFFFF#000000##000000
##A87FF71.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#9796AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a87ff7;
/* rgb */ color: rgb(168, 127, 247);
/* oklch */ color: oklch(68.8% 0.173 297.4);
Tailwind
colors: {
  custom: {
    50: '#c5a5fa',
    500: '#a87ff7',
    950: '#000000',
  },
}
SCSS
$custom: #a87ff7;
$custom-light: #c5a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ff7",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 260.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68777,
    "c": 0.17346,
    "h": 297.4
  },
  "luminance": 0.30219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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