#A287C6#A287C6

#A287C6 is a light, moderate violet. Relative luminance 0.291; OKLCH L 67.2% C 0.096 H 303.6°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A287C6
RGBrgb(162, 135, 198)
HSLhsl(266, 36%, 65%)
HSVhsv(266, 32%, 78%)
CMYKcmyk(18.2%, 31.8%, 0%, 22.4%)
CIE-LABlab(60.86, 22.80, -28.91)
CIE-LCHlch(60.86, 36.82, 308.26°)
OKLaboklab(67.15% 0.0529 -0.0797)
OKLCHoklch(67.15% 0.096 303.6)
XYZxyz(33.7552, 29.0866, 57.2511)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287C6 #ABC687
analogous
#878CC6 #A287C6 #C187C6
triadic
#A287C6 #C6A287 #87C6A2
tetradic
#A287C6 #C6878C #ABC687 #87C6C1
square
#A287C6 #C6878C #ABC687 #87C6C1
split-complementary
#A287C6 #C6C187 #8CC687
monochromatic
#64448F #825EB2 #A287C6 #C2B0DA #E2DAED

Accessibility & contrast

On white

3.08
#A287C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#A287C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A287C6
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287C6#FFFFFF#000000##000000
##A287C61.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C9
Deuteranopia (green-blind)
#7F93C4
Tritanopia (blue-blind)
#9C909E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a287c6;
/* rgb */ color: rgb(162, 135, 198);
/* oklch */ color: oklch(67.2% 0.096 303.6);
Tailwind
colors: {
  custom: {
    50: '#beaad7',
    500: '#a287c6',
    950: '#000000',
  },
}
SCSS
$custom: #a287c6;
$custom-light: #beaad7;
$custom-dark: #000000;
JSON
{
  "hex": "#a287c6",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 198
  },
  "hsl": {
    "h": 265.714,
    "s": 35.593,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67151,
    "c": 0.09562,
    "h": 303.6
  },
  "luminance": 0.29087
}

Semantic roles & 50–950 ramp

primary
#A287C6
secondary
#D6DFCA
accent
#AE377B
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #A287C6

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

Preview Lab → · Contrast checker → · Palette generator →

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