#A287C7#A287C7

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

Color values

HEX#A287C7
RGBrgb(162, 135, 199)
HSLhsl(265, 36%, 65%)
HSVhsv(265, 32%, 78%)
CMYKcmyk(18.6%, 32.2%, 0%, 22%)
CIE-LABlab(60.90, 23.03, -29.41)
CIE-LCHlch(60.90, 37.35, 308.06°)
OKLaboklab(67.2% 0.0532 -0.0811)
OKLCHoklch(67.2% 0.097 303.2)
XYZxyz(33.8710, 29.1329, 57.8606)
Luminance0.2913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287C7 #ACC787
analogous
#878CC7 #A287C7 #C287C7
triadic
#A287C7 #C7A287 #87C7A2
tetradic
#A287C7 #C7878C #ACC787 #87C7C2
square
#A287C7 #C7878C #ACC787 #87C7C2
split-complementary
#A287C7 #C7C287 #8CC787
monochromatic
#644390 #825DB4 #A287C7 #C2B1DA #E3DAEE

Accessibility & contrast

On white

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

On black

6.83
#A287C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A287C7
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287C7#FFFFFF#000000##000000
##A287C71.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92CA
Deuteranopia (green-blind)
#7F93C5
Tritanopia (blue-blind)
#9C919E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a287c7;
/* rgb */ color: rgb(162, 135, 199);
/* oklch */ color: oklch(67.2% 0.097 303.2);
Tailwind
colors: {
  custom: {
    50: '#beaad8',
    500: '#a287c7',
    950: '#000000',
  },
}
SCSS
$custom: #a287c7;
$custom-light: #beaad8;
$custom-dark: #000000;
JSON
{
  "hex": "#a287c7",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 199
  },
  "hsl": {
    "h": 265.313,
    "s": 36.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67196,
    "c": 0.09695,
    "h": 303.2
  },
  "luminance": 0.29133
}

Semantic roles & 50–950 ramp

primary
#A287C7
secondary
#D7E0CA
accent
#AF367C
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #A287C7

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

Preview Lab → · Contrast checker → · Palette generator →

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