#A87FED#A87FED

#A87FED is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.2% C 0.161 H 299.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A87FED
RGBrgb(168, 127, 237)
HSLhsl(262, 75%, 71%)
HSVhsv(262, 46%, 93%)
CMYKcmyk(29.1%, 46.4%, 0%, 7.1%)
CIE-LABlab(61.32, 38.32, -49.94)
CIE-LCHlch(61.32, 62.95, 307.50°)
OKLaboklab(68.22% 0.0788 -0.1403)
OKLCHoklch(68.22% 0.161 299.3)
XYZxyz(39.0203, 29.6177, 83.7654)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FED #C4ED7F
analogous
#7F8DED #A87FED #DF7FED
triadic
#A87FED #EDA87F #7FEDA8
tetradic
#A87FED #ED7F8D #C4ED7F #7FEDDF
square
#A87FED #ED7F8D #C4ED7F #7FEDDF
split-complementary
#A87FED #EDDF7F #8DED7F
monochromatic
#621ED4 #8449E5 #A87FED #CCB5F5 #EDE4FB

Accessibility & contrast

On white

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

On black

6.92
#A87FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FED
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FED#FFFFFF#000000##000000
##A87FED1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F1
Deuteranopia (green-blind)
#6693EA
Tritanopia (blue-blind)
#9A93AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87fed;
/* rgb */ color: rgb(168, 127, 237);
/* oklch */ color: oklch(68.2% 0.161 299.3);
Tailwind
colors: {
  custom: {
    50: '#c4a5f3',
    500: '#a87fed',
    950: '#000000',
  },
}
SCSS
$custom: #a87fed;
$custom-light: #c4a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fed",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 262.364,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6822,
    "c": 0.16086,
    "h": 299.3
  },
  "luminance": 0.29618
}

Semantic roles & 50–950 ramp

primary
#A87FED
secondary
#E8F2D6
accent
#D80E8C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87FED

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

Preview Lab → · Contrast checker → · Palette generator →

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