#A487FE#A487FE

#A487FE is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.2% C 0.170 H 292.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#A487FE
RGBrgb(164, 135, 254)
HSLhsl(255, 98%, 76%)
HSVhsv(255, 47%, 100%)
CMYKcmyk(35.4%, 46.9%, 0%, 0.4%)
CIE-LABlab(63.65, 37.08, -55.63)
CIE-LCHlch(63.65, 66.86, 303.69°)
OKLaboklab(70.17% 0.0657 -0.157)
OKLCHoklch(70.17% 0.17 292.7)
XYZxyz(41.8585, 32.3753, 97.7904)
Luminance0.3238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487FE #E1FE87
analogous
#87A6FE #A487FE #E087FE
triadic
#A487FE #FEA487 #87FEA4
tetradic
#A487FE #FE87A6 #E1FE87 #87FEE0
square
#A487FE #FE87A6 #E1FE87 #87FEE0
split-complementary
#A487FE #FEE087 #A6FE87
monochromatic
#480EFD #764AFD #A487FE #D2C4FF #E8E1FF

Accessibility & contrast

On white

2.81
#A487FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#A487FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487FE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487FE#FFFFFF#000000##000000
##A487FE1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#8E9EB6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a487fe;
/* rgb */ color: rgb(164, 135, 254);
/* oklch */ color: oklch(70.2% 0.170 292.7);
Tailwind
colors: {
  custom: {
    50: '#c2aaff',
    500: '#a487fe',
    950: '#000000',
  },
}
SCSS
$custom: #a487fe;
$custom-light: #c2aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#a487fe",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 254.622,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70166,
    "c": 0.17015,
    "h": 292.7
  },
  "luminance": 0.32376
}

Semantic roles & 50–950 ramp

primary
#A487FE
secondary
#EEF7D4
accent
#E600AE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A487FE

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

Preview Lab → · Contrast checker → · Palette generator →

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