#A487EB#A487EB

#A487EB is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.1% C 0.145 H 295.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A487EB
RGBrgb(164, 135, 235)
HSLhsl(257, 71%, 73%)
HSVhsv(257, 43%, 92%)
CMYKcmyk(30.2%, 42.6%, 0%, 7.8%)
CIE-LABlab(62.69, 32.25, -46.70)
CIE-LCHlch(62.69, 56.75, 304.63°)
OKLaboklab(69.13% 0.0631 -0.1309)
OKLCHoklch(69.13% 0.145 295.7)
XYZxyz(38.9655, 31.2181, 82.5539)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487EB #CEEB87
analogous
#879CEB #A487EB #D687EB
triadic
#A487EB #EBA487 #87EBA4
tetradic
#A487EB #EB879C #CEEB87 #87EBD6
square
#A487EB #EB879C #CEEB87 #87EBD6
split-complementary
#A487EB #EBD687 #9CEB87
monochromatic
#5723D4 #7C53E2 #A487EB #CCBBF4 #EBE5FB

Accessibility & contrast

On white

2.90
#A487EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#A487EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487EB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487EB#FFFFFF#000000##000000
##A487EB1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#6E96E9
Tritanopia (blue-blind)
#9599AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a487eb;
/* rgb */ color: rgb(164, 135, 235);
/* oklch */ color: oklch(69.1% 0.145 295.7);
Tailwind
colors: {
  custom: {
    50: '#c1aaf2',
    500: '#a487eb',
    950: '#000000',
  },
}
SCSS
$custom: #a487eb;
$custom-light: #c1aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a487eb",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 257.4,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6913,
    "c": 0.14531,
    "h": 295.7
  },
  "luminance": 0.31219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A487EB

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

Preview Lab → · Contrast checker → · Palette generator →

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