#A287C5#A287C5

#A287C5 is a light, moderate violet. Relative luminance 0.290; OKLCH L 67.1% C 0.094 H 303.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A287C5
RGBrgb(162, 135, 197)
HSLhsl(266, 35%, 65%)
HSVhsv(266, 31%, 77%)
CMYKcmyk(17.8%, 31.5%, 0%, 22.7%)
CIE-LABlab(60.82, 22.57, -28.41)
CIE-LCHlch(60.82, 36.28, 308.47°)
OKLaboklab(67.11% 0.0526 -0.0782)
OKLCHoklch(67.11% 0.094 303.9)
XYZxyz(33.6403, 29.0406, 56.6457)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287C5 #AAC587
analogous
#878BC5 #A287C5 #C187C5
triadic
#A287C5 #C5A287 #87C5A2
tetradic
#A287C5 #C5878B #AAC587 #87C5C1
square
#A287C5 #C5878B #AAC587 #87C5C1
split-complementary
#A287C5 #C5C187 #8BC587
monochromatic
#64448D #825EB1 #A287C5 #C2B0D9 #E2DAED

Accessibility & contrast

On white

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

On black

6.81
#A287C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A287C5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287C5#FFFFFF#000000##000000
##A287C51.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C7
Deuteranopia (green-blind)
#7F93C3
Tritanopia (blue-blind)
#9D909D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a287c5;
/* rgb */ color: rgb(162, 135, 197);
/* oklch */ color: oklch(67.1% 0.094 303.9);
Tailwind
colors: {
  custom: {
    50: '#beaad6',
    500: '#a287c5',
    950: '#000000',
  },
}
SCSS
$custom: #a287c5;
$custom-light: #beaad6;
$custom-dark: #000000;
JSON
{
  "hex": "#a287c5",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 197
  },
  "hsl": {
    "h": 266.129,
    "s": 34.831,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67107,
    "c": 0.09429,
    "h": 303.9
  },
  "luminance": 0.29041
}

Semantic roles & 50–950 ramp

primary
#A287C5
secondary
#D5DEC9
accent
#AE387A
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #A287C5

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

Preview Lab → · Contrast checker → · Palette generator →

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