#A387CB#A387CB

#A387CB is a light, moderate violet. Relative luminance 0.294; OKLCH L 67.5% C 0.103 H 302.7°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A387CB
RGBrgb(163, 135, 203)
HSLhsl(265, 40%, 66%)
HSVhsv(265, 33%, 80%)
CMYKcmyk(19.7%, 33.5%, 0%, 20.4%)
CIE-LABlab(61.16, 24.26, -31.26)
CIE-LCHlch(61.16, 39.56, 307.81°)
OKLaboklab(67.47% 0.0553 -0.0863)
OKLCHoklch(67.47% 0.103 302.7)
XYZxyz(34.5455, 29.4263, 60.3482)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A387CB #AFCB87
analogous
#878DCB #A387CB #C587CB
triadic
#A387CB #CBA387 #87CBA3
tetradic
#A387CB #CB878D #AFCB87 #87CBC5
square
#A387CB #CB878D #AFCB87 #87CBC5
split-complementary
#A387CB #CBC587 #8DCB87
monochromatic
#644196 #825CB8 #A387CB #C4B2DE #E4DCF0

Accessibility & contrast

On white

3.05
#A387CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#A387CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A387CB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A387CB#FFFFFF#000000##000000
##A387CB1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a387cb;
/* rgb */ color: rgb(163, 135, 203);
/* oklch */ color: oklch(67.5% 0.103 302.7);
Tailwind
colors: {
  custom: {
    50: '#bfaadb',
    500: '#a387cb',
    950: '#000000',
  },
}
SCSS
$custom: #a387cb;
$custom-light: #bfaadb;
$custom-dark: #000000;
JSON
{
  "hex": "#a387cb",
  "rgb": {
    "r": 163,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 264.706,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67468,
    "c": 0.10255,
    "h": 302.7
  },
  "luminance": 0.29426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A387CB

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

Preview Lab → · Contrast checker → · Palette generator →

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