#A287BD#A287BD

#A287BD is a light, moderate violet. Relative luminance 0.287; OKLCH L 66.8% C 0.084 H 307.1°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A287BD
RGBrgb(162, 135, 189)
HSLhsl(270, 29%, 64%)
HSVhsv(270, 29%, 74%)
CMYKcmyk(14.3%, 28.6%, 0%, 25.9%)
CIE-LABlab(60.50, 20.78, -24.38)
CIE-LCHlch(60.50, 32.03, 310.44°)
OKLaboklab(66.76% 0.0504 -0.0668)
OKLCHoklch(66.76% 0.084 307.1)
XYZxyz(32.7479, 28.6837, 51.9455)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287BD #A2BD87
analogous
#8787BD #A287BD #BD87BD
triadic
#A287BD #BDA287 #87BDA2
tetradic
#A287BD #BD8787 #A2BD87 #87BDBD
square
#A287BD #BD8787 #A2BD87 #87BDBD
split-complementary
#A287BD #BDBD87 #87BD87
monochromatic
#654882 #8360A7 #A287BD #C1AED3 #DFD6E8

Accessibility & contrast

On white

3.12
#A287BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#A287BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A287BD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287BD#FFFFFF#000000##000000
##A287BD1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91BF
Deuteranopia (green-blind)
#8392BB
Tritanopia (blue-blind)
#9E8E9A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a287bd;
/* rgb */ color: rgb(162, 135, 189);
/* oklch */ color: oklch(66.8% 0.084 307.1);
Tailwind
colors: {
  custom: {
    50: '#beaad1',
    500: '#a287bd',
    950: '#000000',
  },
}
SCSS
$custom: #a287bd;
$custom-light: #beaad1;
$custom-dark: #000000;
JSON
{
  "hex": "#a287bd",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 270,
    "s": 29.032,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6676,
    "c": 0.08367,
    "h": 307.1
  },
  "luminance": 0.28683
}

Semantic roles & 50–950 ramp

primary
#A287BD
secondary
#D0D9C6
accent
#A83E73
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #A287BD

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

Preview Lab → · Contrast checker → · Palette generator →

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