#A487CB#A487CB

#A487CB is a light, moderate violet. Relative luminance 0.295; OKLCH L 67.6% C 0.103 H 303.3°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A487CB
RGBrgb(164, 135, 203)
HSLhsl(266, 40%, 66%)
HSVhsv(266, 33%, 80%)
CMYKcmyk(19.2%, 33.5%, 0%, 20.4%)
CIE-LABlab(61.25, 24.56, -31.11)
CIE-LCHlch(61.25, 39.64, 308.30°)
OKLaboklab(67.56% 0.0565 -0.0859)
OKLCHoklch(67.56% 0.103 303.3)
XYZxyz(34.7511, 29.5323, 60.3579)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A487CB #AECB87
analogous
#878CCB #A487CB #C687CB
triadic
#A487CB #CBA487 #87CBA4
tetradic
#A487CB #CB878C #AECB87 #87CBC6
square
#A487CB #CB878C #AECB87 #87CBC6
split-complementary
#A487CB #CBC687 #8CCB87
monochromatic
#664196 #845CB8 #A487CB #C4B2DE #E5DCF0

Accessibility & contrast

On white

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

On black

6.91
#A487CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A487CB
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A487CB#FFFFFF#000000##000000
##A487CB1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CE
Deuteranopia (green-blind)
#7E94C9
Tritanopia (blue-blind)
#9E91A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a487cb;
/* rgb */ color: rgb(164, 135, 203);
/* oklch */ color: oklch(67.6% 0.103 303.3);
Tailwind
colors: {
  custom: {
    50: '#c0aadb',
    500: '#a487cb',
    950: '#000000',
  },
}
SCSS
$custom: #a487cb;
$custom-light: #c0aadb;
$custom-dark: #000000;
JSON
{
  "hex": "#a487cb",
  "rgb": {
    "r": 164,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 265.588,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67561,
    "c": 0.10281,
    "h": 303.3
  },
  "luminance": 0.29532
}

Semantic roles & 50–950 ramp

primary
#A487CB
secondary
#D9E2CC
accent
#B3337C
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A487CB

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

Preview Lab → · Contrast checker → · Palette generator →

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