#A487FB#A487FB

#A487FB is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.0% C 0.166 H 293.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#A487FB
RGBrgb(164, 135, 251)
HSLhsl(255, 94%, 76%)
HSVhsv(255, 46%, 98%)
CMYKcmyk(34.7%, 46.2%, 0%, 1.6%)
CIE-LABlab(63.50, 36.31, -54.24)
CIE-LCHlch(63.50, 65.27, 303.80°)
OKLaboklab(70% 0.0653 -0.1529)
OKLCHoklch(70% 0.166 293.1)
XYZxyz(41.3819, 32.1846, 95.2801)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487FB #DEFB87
analogous
#87A4FB #A487FB #DE87FB
triadic
#A487FB #FBA487 #87FBA4
tetradic
#A487FB #FB87A4 #DEFB87 #87FBDE
square
#A487FB #FB87A4 #DEFB87 #87FBDE
split-complementary
#A487FB #FBDE87 #A4FB87
monochromatic
#4A11F7 #774CF9 #A487FB #D1C2FD #E9E1FE

Accessibility & contrast

On white

2.82
#A487FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#A487FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487FB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487FB#FFFFFF#000000##000000
##A487FB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#6398F8
Tritanopia (blue-blind)
#8F9DB5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a487fb;
/* rgb */ color: rgb(164, 135, 251);
/* oklch */ color: oklch(70.0% 0.166 293.1);
Tailwind
colors: {
  custom: {
    50: '#c2aafd',
    500: '#a487fb',
    950: '#000000',
  },
}
SCSS
$custom: #a487fb;
$custom-light: #c2aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#a487fb",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 255,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69997,
    "c": 0.16626,
    "h": 293.1
  },
  "luminance": 0.32185
}

Semantic roles & 50–950 ramp

primary
#A487FB
secondary
#EEF6D5
accent
#E600AC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A487FB

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

Preview Lab → · Contrast checker → · Palette generator →

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