#A487E4#A487E4

#A487E4 is a light, vivid violet. Relative luminance 0.308; OKLCH L 68.8% C 0.136 H 297.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A487E4
RGBrgb(164, 135, 228)
HSLhsl(259, 63%, 71%)
HSVhsv(259, 41%, 89%)
CMYKcmyk(28.1%, 40.8%, 0%, 10.6%)
CIE-LABlab(62.36, 30.51, -43.34)
CIE-LCHlch(62.36, 53.01, 305.15°)
OKLaboklab(68.77% 0.0619 -0.1212)
OKLCHoklch(68.77% 0.136 297)
XYZxyz(37.9741, 30.8215, 77.3322)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487E4 #C7E487
analogous
#8798E4 #A487E4 #D287E4
triadic
#A487E4 #E4A487 #87E4A4
tetradic
#A487E4 #E48798 #C7E487 #87E4D2
square
#A487E4 #E48798 #C7E487 #87E4D2
split-complementary
#A487E4 #E4D287 #98E487
monochromatic
#5C2CC4 #7E55D9 #A487E4 #CAB9EF #ECE6F9

Accessibility & contrast

On white

2.93
#A487E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#A487E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487E4
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487E4#FFFFFF#000000##000000
##A487E41.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E8
Deuteranopia (green-blind)
#7296E2
Tritanopia (blue-blind)
#9797AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a487e4;
/* rgb */ color: rgb(164, 135, 228);
/* oklch */ color: oklch(68.8% 0.136 297.0);
Tailwind
colors: {
  custom: {
    50: '#c1aaed',
    500: '#a487e4',
    950: '#000000',
  },
}
SCSS
$custom: #a487e4;
$custom-light: #c1aaed;
$custom-dark: #000000;
JSON
{
  "hex": "#a487e4",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 258.71,
    "s": 63.265,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68767,
    "c": 0.13605,
    "h": 297
  },
  "luminance": 0.30822
}

Semantic roles & 50–950 ramp

primary
#A487E4
secondary
#E8F0D7
accent
#CB1A94
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A487E4

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

Preview Lab → · Contrast checker → · Palette generator →

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