#A487EF#A487EF

#A487EF is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.3% C 0.151 H 295.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A487EF
RGBrgb(164, 135, 239)
HSLhsl(257, 76%, 73%)
HSVhsv(257, 44%, 94%)
CMYKcmyk(31.4%, 43.5%, 0%, 6.3%)
CIE-LABlab(62.89, 33.25, -48.60)
CIE-LCHlch(62.89, 58.89, 304.38°)
OKLaboklab(69.34% 0.0637 -0.1364)
OKLCHoklch(69.34% 0.151 295)
XYZxyz(39.5499, 31.4518, 85.6317)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487EF #D2EF87
analogous
#879EEF #A487EF #D887EF
triadic
#A487EF #EFA487 #87EFA4
tetradic
#A487EF #EF879E #D2EF87 #87EFD8
square
#A487EF #EF879E #D2EF87 #87EFD8
split-complementary
#A487EF #EFD887 #9EEF87
monochromatic
#531EDE #7B51E8 #A487EF #CDBDF6 #EBE4FB

Accessibility & contrast

On white

2.88
#A487EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#A487EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487EF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487EF#FFFFFF#000000##000000
##A487EF1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#6B97EC
Tritanopia (blue-blind)
#939AB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a487ef;
/* rgb */ color: rgb(164, 135, 239);
/* oklch */ color: oklch(69.3% 0.151 295.0);
Tailwind
colors: {
  custom: {
    50: '#c1aaf5',
    500: '#a487ef',
    950: '#000000',
  },
}
SCSS
$custom: #a487ef;
$custom-light: #c1aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a487ef",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 256.731,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69341,
    "c": 0.15057,
    "h": 295
  },
  "luminance": 0.31452
}

Semantic roles & 50–950 ramp

primary
#A487EF
secondary
#ECF3D8
accent
#D90DA0
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A487EF

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

Preview Lab → · Contrast checker → · Palette generator →

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