#A287C0#A287C0

#A287C0 is a light, moderate violet. Relative luminance 0.288; OKLCH L 66.9% C 0.088 H 305.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A287C0
RGBrgb(162, 135, 192)
HSLhsl(268, 31%, 64%)
HSVhsv(268, 30%, 75%)
CMYKcmyk(15.6%, 29.7%, 0%, 24.7%)
CIE-LABlab(60.62, 21.44, -25.89)
CIE-LCHlch(60.62, 33.62, 309.63°)
OKLaboklab(66.89% 0.0513 -0.0711)
OKLCHoklch(66.89% 0.088 305.8)
XYZxyz(33.0769, 28.8153, 53.6783)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287C0 #A5C087
analogous
#8789C0 #A287C0 #BF87C0
triadic
#A287C0 #C0A287 #87C0A2
tetradic
#A287C0 #C08789 #A5C087 #87C0BF
square
#A287C0 #C08789 #A5C087 #87C0BF
split-complementary
#A287C0 #C0BF87 #89C087
monochromatic
#654686 #835FAB #A287C0 #C1AFD5 #E0D7EA

Accessibility & contrast

On white

3.11
#A287C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A287C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A287C0
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287C0#FFFFFF#000000##000000
##A287C01.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C91C2
Deuteranopia (green-blind)
#8192BE
Tritanopia (blue-blind)
#9E8F9B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a287c0;
/* rgb */ color: rgb(162, 135, 192);
/* oklch */ color: oklch(66.9% 0.088 305.8);
Tailwind
colors: {
  custom: {
    50: '#beaad3',
    500: '#a287c0',
    950: '#000000',
  },
}
SCSS
$custom: #a287c0;
$custom-light: #beaad3;
$custom-dark: #000000;
JSON
{
  "hex": "#a287c0",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 192
  },
  "hsl": {
    "h": 268.421,
    "s": 31.148,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66889,
    "c": 0.08763,
    "h": 305.8
  },
  "luminance": 0.28815
}

Semantic roles & 50–950 ramp

primary
#A287C0
secondary
#D2DBC7
accent
#AA3C76
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #A287C0

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

Preview Lab → · Contrast checker → · Palette generator →

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