#A387BF#A387BF

#A387BF is a light, moderate violet. Relative luminance 0.289; OKLCH L 66.9% C 0.087 H 307.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A387BF
RGBrgb(163, 135, 191)
HSLhsl(270, 30%, 64%)
HSVhsv(270, 29%, 75%)
CMYKcmyk(14.7%, 29.3%, 0%, 25.1%)
CIE-LABlab(60.67, 21.54, -25.24)
CIE-LCHlch(60.67, 33.18, 310.48°)
OKLaboklab(66.94% 0.0522 -0.0692)
OKLCHoklch(66.94% 0.087 307)
XYZxyz(33.1704, 28.8763, 53.1063)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A387BF #A3BF87
analogous
#8787BF #A387BF #BF87BF
triadic
#A387BF #BFA387 #87BFA3
tetradic
#A387BF #BF8787 #A3BF87 #87BFBF
square
#A387BF #BF8787 #A3BF87 #87BFBF
split-complementary
#A387BF #BFBF87 #87BF87
monochromatic
#664785 #845FAA #A387BF #C2AFD4 #E0D7EA

Accessibility & contrast

On white

3.10
#A387BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#A387BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A387BF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A387BF#FFFFFF#000000##000000
##A387BF1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91C1
Deuteranopia (green-blind)
#8293BD
Tritanopia (blue-blind)
#9F8F9B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a387bf;
/* rgb */ color: rgb(163, 135, 191);
/* oklch */ color: oklch(66.9% 0.087 307.0);
Tailwind
colors: {
  custom: {
    50: '#bfaad2',
    500: '#a387bf',
    950: '#000000',
  },
}
SCSS
$custom: #a387bf;
$custom-light: #bfaad2;
$custom-dark: #000000;
JSON
{
  "hex": "#a387bf",
  "rgb": {
    "r": 163,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 270,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66939,
    "c": 0.08666,
    "h": 307
  },
  "luminance": 0.28876
}

Semantic roles & 50–950 ramp

primary
#A387BF
secondary
#D1DBC7
accent
#A93C73
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #A387BF

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

Preview Lab → · Contrast checker → · Palette generator →

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