#A487FD#A487FD

#A487FD is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.1% C 0.169 H 292.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#A487FD
RGBrgb(164, 135, 253)
HSLhsl(255, 97%, 76%)
HSVhsv(255, 47%, 99%)
CMYKcmyk(35.2%, 46.6%, 0%, 0.8%)
CIE-LABlab(63.60, 36.82, -55.17)
CIE-LCHlch(63.60, 66.33, 303.72°)
OKLaboklab(70.11% 0.0655 -0.1556)
OKLCHoklch(70.11% 0.169 292.8)
XYZxyz(41.6988, 32.3114, 96.9492)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487FD #E0FD87
analogous
#87A5FD #A487FD #DF87FD
triadic
#A487FD #FDA487 #87FDA4
tetradic
#A487FD #FD87A5 #E0FD87 #87FDDF
square
#A487FD #FD87A5 #E0FD87 #87FDDF
split-complementary
#A487FD #FDDF87 #A5FD87
monochromatic
#490FFB #764BFC #A487FD #D2C3FE #E8E1FE

Accessibility & contrast

On white

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

On black

7.46
#A487FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487FD
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487FD#FFFFFF#000000##000000
##A487FD1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a487fd;
/* rgb */ color: rgb(164, 135, 253);
/* oklch */ color: oklch(70.1% 0.169 292.8);
Tailwind
colors: {
  custom: {
    50: '#c2aafe',
    500: '#a487fd',
    950: '#000000',
  },
}
SCSS
$custom: #a487fd;
$custom-light: #c2aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#a487fd",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 254.746,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70109,
    "c": 0.16886,
    "h": 292.8
  },
  "luminance": 0.32312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A487FD

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

Preview Lab → · Contrast checker → · Palette generator →

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