#A287BB#A287BB

#A287BB is a light, moderate violet. Relative luminance 0.286; OKLCH L 66.7% C 0.081 H 308.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A287BB
RGBrgb(162, 135, 187)
HSLhsl(271, 28%, 63%)
HSVhsv(271, 28%, 73%)
CMYKcmyk(13.4%, 27.8%, 0%, 26.7%)
CIE-LABlab(60.42, 20.34, -23.36)
CIE-LCHlch(60.42, 30.97, 311.04°)
OKLaboklab(66.68% 0.0498 -0.0639)
OKLCHoklch(66.68% 0.081 308)
XYZxyz(32.5323, 28.5974, 50.8101)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287BB #A0BB87
analogous
#8887BB #A287BB #BB87BA
triadic
#A287BB #BBA287 #87BBA2
tetradic
#A287BB #BB8887 #A0BB87 #87BABB
square
#A287BB #BB8887 #A0BB87 #87BABB
split-complementary
#A287BB #BABB87 #87BB88
monochromatic
#65487F #8460A5 #A287BB #C0AED1 #DFD5E7

Accessibility & contrast

On white

3.13
#A287BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A287BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A287BB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287BB#FFFFFF#000000##000000
##A287BB1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E91BD
Deuteranopia (green-blind)
#8392B9
Tritanopia (blue-blind)
#9F8E99
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a287bb;
/* rgb */ color: rgb(162, 135, 187);
/* oklch */ color: oklch(66.7% 0.081 308.0);
Tailwind
colors: {
  custom: {
    50: '#beaacf',
    500: '#a287bb',
    950: '#000000',
  },
}
SCSS
$custom: #a287bb;
$custom-light: #beaacf;
$custom-dark: #000000;
JSON
{
  "hex": "#a287bb",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 271.154,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66676,
    "c": 0.08104,
    "h": 308
  },
  "luminance": 0.28597
}

Semantic roles & 50–950 ramp

primary
#A287BB
secondary
#CFD8C6
accent
#A63F71
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #A287BB

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

Preview Lab → · Contrast checker → · Palette generator →

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