#A487ED#A487ED

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

Color values

HEX#A487ED
RGBrgb(164, 135, 237)
HSLhsl(257, 74%, 73%)
HSVhsv(257, 43%, 93%)
CMYKcmyk(30.8%, 43%, 0%, 7.1%)
CIE-LABlab(62.79, 32.75, -47.65)
CIE-LCHlch(62.79, 57.82, 304.50°)
OKLaboklab(69.24% 0.0634 -0.1337)
OKLCHoklch(69.24% 0.148 295.4)
XYZxyz(39.2561, 31.3343, 84.0843)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487ED #D0ED87
analogous
#879DED #A487ED #D787ED
triadic
#A487ED #EDA487 #87EDA4
tetradic
#A487ED #ED879D #D0ED87 #87EDD7
square
#A487ED #ED879D #D0ED87 #87EDD7
split-complementary
#A487ED #EDD787 #9DED87
monochromatic
#5521D9 #7C52E5 #A487ED #CCBCF5 #EBE4FB

Accessibility & contrast

On white

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

On black

7.27
#A487ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487ED
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487ED#FFFFFF#000000##000000
##A487ED1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#6D96EA
Tritanopia (blue-blind)
#949AAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a487ed;
/* rgb */ color: rgb(164, 135, 237);
/* oklch */ color: oklch(69.2% 0.148 295.4);
Tailwind
colors: {
  custom: {
    50: '#c1aaf3',
    500: '#a487ed',
    950: '#000000',
  },
}
SCSS
$custom: #a487ed;
$custom-light: #c1aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a487ed",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 257.059,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69235,
    "c": 0.14794,
    "h": 295.4
  },
  "luminance": 0.31335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A487ED

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

Preview Lab → · Contrast checker → · Palette generator →

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