#A287C1#A287C1

#A287C1 is a light, moderate violet. Relative luminance 0.289; OKLCH L 66.9% C 0.089 H 305.4°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A287C1
RGBrgb(162, 135, 193)
HSLhsl(268, 32%, 64%)
HSVhsv(268, 30%, 76%)
CMYKcmyk(16.1%, 30.1%, 0%, 24.3%)
CIE-LABlab(60.66, 21.67, -26.40)
CIE-LCHlch(60.66, 34.15, 309.38°)
OKLaboklab(66.93% 0.0515 -0.0725)
OKLCHoklch(66.93% 0.089 305.4)
XYZxyz(33.1880, 28.8597, 54.2638)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287C1 #A6C187
analogous
#8789C1 #A287C1 #BF87C1
triadic
#A287C1 #C1A287 #87C1A2
tetradic
#A287C1 #C18789 #A6C187 #87C1BF
square
#A287C1 #C18789 #A6C187 #87C1BF
split-complementary
#A287C1 #C1BF87 #89C187
monochromatic
#654688 #835FAC #A287C1 #C1AFD6 #E1D8EB

Accessibility & contrast

On white

3.10
#A287C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#A287C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A287C1
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287C1#FFFFFF#000000##000000
##A287C11.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C91C3
Deuteranopia (green-blind)
#8192BF
Tritanopia (blue-blind)
#9E8F9C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a287c1;
/* rgb */ color: rgb(162, 135, 193);
/* oklch */ color: oklch(66.9% 0.089 305.4);
Tailwind
colors: {
  custom: {
    50: '#beaad4',
    500: '#a287c1',
    950: '#000000',
  },
}
SCSS
$custom: #a287c1;
$custom-light: #beaad4;
$custom-dark: #000000;
JSON
{
  "hex": "#a287c1",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 193
  },
  "hsl": {
    "h": 267.931,
    "s": 31.868,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66932,
    "c": 0.08895,
    "h": 305.4
  },
  "luminance": 0.2886
}

Semantic roles & 50–950 ramp

primary
#A287C1
secondary
#D3DCC8
accent
#AB3B77
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #A287C1

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

Preview Lab → · Contrast checker → · Palette generator →

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