#A487DC#A487DC

#A487DC is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.4% C 0.125 H 298.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A487DC
RGBrgb(164, 135, 220)
HSLhsl(260, 55%, 70%)
HSVhsv(260, 39%, 86%)
CMYKcmyk(25.5%, 38.6%, 0%, 13.7%)
CIE-LABlab(61.99, 28.57, -39.47)
CIE-LCHlch(61.99, 48.73, 305.89°)
OKLaboklab(68.37% 0.0603 -0.11)
OKLCHoklch(68.37% 0.125 298.8)
XYZxyz(36.8891, 30.3875, 71.6182)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487DC #BFDC87
analogous
#8794DC #A487DC #CF87DC
triadic
#A487DC #DCA487 #87DCA4
tetradic
#A487DC #DC8794 #BFDC87 #87DCCF
square
#A487DC #DC8794 #BFDC87 #87DCCF
split-complementary
#A487DC #DCCF87 #94DC87
monochromatic
#6035B4 #8058CE #A487DC #C8B6EA #ECE6F8

Accessibility & contrast

On white

2.97
#A487DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#A487DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A487DC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487DC#FFFFFF#000000##000000
##A487DC1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#7695DA
Tritanopia (blue-blind)
#9995A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a487dc;
/* rgb */ color: rgb(164, 135, 220);
/* oklch */ color: oklch(68.4% 0.125 298.8);
Tailwind
colors: {
  custom: {
    50: '#c0aae7',
    500: '#a487dc',
    950: '#000000',
  },
}
SCSS
$custom: #a487dc;
$custom-light: #c0aae7;
$custom-dark: #000000;
JSON
{
  "hex": "#a487dc",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 260.471,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68366,
    "c": 0.12543,
    "h": 298.8
  },
  "luminance": 0.30388
}

Semantic roles & 50–950 ramp

primary
#A487DC
secondary
#E3ECD3
accent
#C2238C
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A487DC

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

Preview Lab → · Contrast checker → · Palette generator →

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