#A287C9#A287C9

#A287C9 is a light, moderate violet. Relative luminance 0.292; OKLCH L 67.3% C 0.100 H 302.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A287C9
RGBrgb(162, 135, 201)
HSLhsl(265, 38%, 66%)
HSVhsv(265, 33%, 79%)
CMYKcmyk(19.4%, 32.8%, 0%, 21.2%)
CIE-LABlab(60.98, 23.49, -30.41)
CIE-LCHlch(60.98, 38.42, 307.68°)
OKLaboklab(67.29% 0.0537 -0.0839)
OKLCHoklch(67.29% 0.1 302.6)
XYZxyz(34.1047, 29.2264, 59.0916)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287C9 #AEC987
analogous
#878DC9 #A287C9 #C387C9
triadic
#A287C9 #C9A287 #87C9A2
tetradic
#A287C9 #C9878D #AEC987 #87C9C3
square
#A287C9 #C9878D #AEC987 #87C9C3
split-complementary
#A287C9 #C9C387 #8DC987
monochromatic
#634293 #815DB6 #A287C9 #C3B1DC #E3DBEF

Accessibility & contrast

On white

3.07
#A287C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#A287C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A287C9
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287C9#FFFFFF#000000##000000
##A287C91.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CC
Deuteranopia (green-blind)
#7E93C7
Tritanopia (blue-blind)
#9C919F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a287c9;
/* rgb */ color: rgb(162, 135, 201);
/* oklch */ color: oklch(67.3% 0.100 302.6);
Tailwind
colors: {
  custom: {
    50: '#beaad9',
    500: '#a287c9',
    950: '#000000',
  },
}
SCSS
$custom: #a287c9;
$custom-light: #beaad9;
$custom-dark: #000000;
JSON
{
  "hex": "#a287c9",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 201
  },
  "hsl": {
    "h": 264.545,
    "s": 37.931,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67286,
    "c": 0.09963,
    "h": 302.6
  },
  "luminance": 0.29226
}

Semantic roles & 50–950 ramp

primary
#A287C9
secondary
#D8E1CB
accent
#B1357E
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #A287C9

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

Preview Lab → · Contrast checker → · Palette generator →

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