#A487CC#A487CC

#A487CC is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.6% C 0.104 H 303.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A487CC
RGBrgb(164, 135, 204)
HSLhsl(265, 40%, 66%)
HSVhsv(265, 34%, 80%)
CMYKcmyk(19.6%, 33.8%, 0%, 20%)
CIE-LABlab(61.29, 24.79, -31.60)
CIE-LCHlch(61.29, 40.17, 308.11°)
OKLaboklab(67.61% 0.0568 -0.0873)
OKLCHoklch(67.61% 0.104 303)
XYZxyz(34.8706, 29.5801, 60.9875)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487CC #AFCC87
analogous
#878DCC #A487CC #C787CC
triadic
#A487CC #CCA487 #87CCA4
tetradic
#A487CC #CC878D #AFCC87 #87CCC7
square
#A487CC #CC878D #AFCC87 #87CCC7
split-complementary
#A487CC #CCC787 #8DCC87
monochromatic
#654198 #835CBA #A487CC #C5B2DE #E5DDF1

Accessibility & contrast

On white

3.04
#A487CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#A487CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A487CC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487CC#FFFFFF#000000##000000
##A487CC1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CF
Deuteranopia (green-blind)
#7E94CA
Tritanopia (blue-blind)
#9E92A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a487cc;
/* rgb */ color: rgb(164, 135, 204);
/* oklch */ color: oklch(67.6% 0.104 303.0);
Tailwind
colors: {
  custom: {
    50: '#c0aadb',
    500: '#a487cc',
    950: '#000000',
  },
}
SCSS
$custom: #a487cc;
$custom-light: #c0aadb;
$custom-dark: #000000;
JSON
{
  "hex": "#a487cc",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 265.217,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67607,
    "c": 0.10414,
    "h": 303
  },
  "luminance": 0.2958
}

Semantic roles & 50–950 ramp

primary
#A487CC
secondary
#D9E3CC
accent
#B3327D
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A487CC

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

Preview Lab → · Contrast checker → · Palette generator →

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