#A487EE#A487EE

#A487EE is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.3% C 0.149 H 295.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A487EE
RGBrgb(164, 135, 238)
HSLhsl(257, 75%, 73%)
HSVhsv(257, 43%, 93%)
CMYKcmyk(31.1%, 43.3%, 0%, 6.7%)
CIE-LABlab(62.84, 33.00, -48.12)
CIE-LCHlch(62.84, 58.35, 304.44°)
OKLaboklab(69.29% 0.0635 -0.1351)
OKLCHoklch(69.29% 0.149 295.2)
XYZxyz(39.4026, 31.3929, 84.8558)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487EE #D1EE87
analogous
#879DEE #A487EE #D787EE
triadic
#A487EE #EEA487 #87EEA4
tetradic
#A487EE #EE879D #D1EE87 #87EED7
square
#A487EE #EE879D #D1EE87 #87EED7
split-complementary
#A487EE #EED787 #9DEE87
monochromatic
#541FDC #7B51E6 #A487EE #CDBDF6 #EBE4FB

Accessibility & contrast

On white

2.89
#A487EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#A487EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487EE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487EE#FFFFFF#000000##000000
##A487EE1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#6C97EB
Tritanopia (blue-blind)
#949AAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a487ee;
/* rgb */ color: rgb(164, 135, 238);
/* oklch */ color: oklch(69.3% 0.149 295.2);
Tailwind
colors: {
  custom: {
    50: '#c1aaf4',
    500: '#a487ee',
    950: '#000000',
  },
}
SCSS
$custom: #a487ee;
$custom-light: #c1aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a487ee",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 256.893,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69288,
    "c": 0.14926,
    "h": 295.2
  },
  "luminance": 0.31394
}

Semantic roles & 50–950 ramp

primary
#A487EE
secondary
#EBF3D8
accent
#D70E9F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A487EE

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

Preview Lab → · Contrast checker → · Palette generator →

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