#A487FA#A487FA

#A487FA is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.9% C 0.165 H 293.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#A487FA
RGBrgb(164, 135, 250)
HSLhsl(255, 92%, 75%)
HSVhsv(255, 46%, 98%)
CMYKcmyk(34.4%, 46%, 0%, 2%)
CIE-LABlab(63.44, 36.05, -53.77)
CIE-LCHlch(63.44, 64.74, 303.84°)
OKLaboklab(69.94% 0.0652 -0.1515)
OKLCHoklch(69.94% 0.165 293.3)
XYZxyz(41.2247, 32.1217, 94.4521)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487FA #DDFA87
analogous
#87A4FA #A487FA #DD87FA
triadic
#A487FA #FAA487 #87FAA4
tetradic
#A487FA #FA87A4 #DDFA87 #87FADD
square
#A487FA #FA87A4 #DDFA87 #87FADD
split-complementary
#A487FA #FADD87 #A4FA87
monochromatic
#4B11F5 #774CF8 #A487FA #D1C2FC #E9E2FE

Accessibility & contrast

On white

2.83
#A487FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#A487FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487FA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487FA#FFFFFF#000000##000000
##A487FA1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#6498F7
Tritanopia (blue-blind)
#8F9DB5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a487fa;
/* rgb */ color: rgb(164, 135, 250);
/* oklch */ color: oklch(69.9% 0.165 293.3);
Tailwind
colors: {
  custom: {
    50: '#c2aafc',
    500: '#a487fa',
    950: '#000000',
  },
}
SCSS
$custom: #a487fa;
$custom-light: #c2aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#a487fa",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 255.13,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.69941,
    "c": 0.16496,
    "h": 293.3
  },
  "luminance": 0.32123
}

Semantic roles & 50–950 ramp

primary
#A487FA
secondary
#EEF6D5
accent
#E600AC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A487FA

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

Preview Lab → · Contrast checker → · Palette generator →

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