#A487EC#A487EC

#A487EC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.2% C 0.147 H 295.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#A487EC
RGBrgb(164, 135, 236)
HSLhsl(257, 73%, 73%)
HSVhsv(257, 43%, 93%)
CMYKcmyk(30.5%, 42.8%, 0%, 7.5%)
CIE-LABlab(62.74, 32.50, -47.17)
CIE-LCHlch(62.74, 57.28, 304.56°)
OKLaboklab(69.18% 0.0632 -0.1323)
OKLCHoklch(69.18% 0.147 295.5)
XYZxyz(39.1104, 31.2760, 83.3170)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487EC #CFEC87
analogous
#879CEC #A487EC #D787EC
triadic
#A487EC #ECA487 #87ECA4
tetradic
#A487EC #EC879C #CFEC87 #87ECD7
square
#A487EC #EC879C #CFEC87 #87ECD7
split-complementary
#A487EC #ECD787 #9CEC87
monochromatic
#5622D7 #7C52E4 #A487EC #CCBCF4 #EBE5FB

Accessibility & contrast

On white

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

On black

7.26
#A487EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487EC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487EC#FFFFFF#000000##000000
##A487EC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#9499AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a487ec;
/* rgb */ color: rgb(164, 135, 236);
/* oklch */ color: oklch(69.2% 0.147 295.5);
Tailwind
colors: {
  custom: {
    50: '#c1aaf2',
    500: '#a487ec',
    950: '#000000',
  },
}
SCSS
$custom: #a487ec;
$custom-light: #c1aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a487ec",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 257.228,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69182,
    "c": 0.14662,
    "h": 295.5
  },
  "luminance": 0.31277
}

Semantic roles & 50–950 ramp

primary
#A487EC
secondary
#EBF2D9
accent
#D5119C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A487EC

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

Preview Lab → · Contrast checker → · Palette generator →

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