#A487FC#A487FC

#A487FC is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.1% C 0.168 H 293.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#A487FC
RGBrgb(164, 135, 252)
HSLhsl(255, 95%, 76%)
HSVhsv(255, 46%, 99%)
CMYKcmyk(34.9%, 46.4%, 0%, 1.2%)
CIE-LABlab(63.55, 36.57, -54.70)
CIE-LCHlch(63.55, 65.80, 303.76°)
OKLaboklab(70.05% 0.0654 -0.1543)
OKLCHoklch(70.05% 0.168 293)
XYZxyz(41.5399, 32.2478, 96.1124)
Luminance0.3225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487FC #DFFC87
analogous
#87A4FC #A487FC #DE87FC
triadic
#A487FC #FCA487 #87FCA4
tetradic
#A487FC #FC87A4 #DFFC87 #87FCDE
square
#A487FC #FC87A4 #DFFC87 #87FCDE
split-complementary
#A487FC #FCDE87 #A4FC87
monochromatic
#4910F9 #774BFB #A487FC #D1C3FD #E8E1FE

Accessibility & contrast

On white

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

On black

7.45
#A487FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487FC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487FC#FFFFFF#000000##000000
##A487FC1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#6298F9
Tritanopia (blue-blind)
#8F9EB6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a487fc;
/* rgb */ color: rgb(164, 135, 252);
/* oklch */ color: oklch(70.1% 0.168 293.0);
Tailwind
colors: {
  custom: {
    50: '#c2aafe',
    500: '#a487fc',
    950: '#000000',
  },
}
SCSS
$custom: #a487fc;
$custom-light: #c2aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#a487fc",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 254.872,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70053,
    "c": 0.16756,
    "h": 293
  },
  "luminance": 0.32249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A487FC

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

Preview Lab → · Contrast checker → · Palette generator →

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