#A287CA#A287CA

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

Color values

HEX#A287CA
RGBrgb(162, 135, 202)
HSLhsl(264, 39%, 66%)
HSVhsv(264, 33%, 79%)
CMYKcmyk(19.8%, 33.2%, 0%, 20.8%)
CIE-LABlab(61.02, 23.72, -30.91)
CIE-LCHlch(61.02, 38.96, 307.50°)
OKLaboklab(67.33% 0.0539 -0.0854)
OKLCHoklch(67.33% 0.101 302.3)
XYZxyz(34.2227, 29.2736, 59.7131)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287CA #AFCA87
analogous
#878DCA #A287CA #C387CA
triadic
#A287CA #CAA287 #87CAA2
tetradic
#A287CA #CA878D #AFCA87 #87CAC3
square
#A287CA #CA878D #AFCA87 #87CAC3
split-complementary
#A287CA #CAC387 #8DCA87
monochromatic
#634295 #815DB7 #A287CA #C3B1DD #E4DCEF

Accessibility & contrast

On white

3.06
#A287CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A287CA#FFFFFF#000000##000000
##A287CA1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CD
Deuteranopia (green-blind)
#7D93C8
Tritanopia (blue-blind)
#9B919F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a287ca;
/* rgb */ color: rgb(162, 135, 202);
/* oklch */ color: oklch(67.3% 0.101 302.3);
Tailwind
colors: {
  custom: {
    50: '#beaada',
    500: '#a287ca',
    950: '#000000',
  },
}
SCSS
$custom: #a287ca;
$custom-light: #beaada;
$custom-dark: #000000;
JSON
{
  "hex": "#a287ca",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 264.179,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67331,
    "c": 0.10096,
    "h": 302.3
  },
  "luminance": 0.29274
}

Semantic roles & 50–950 ramp

primary
#A287CA
secondary
#D9E1CB
accent
#B2347F
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#121015
muted
#817F83

Preview Lab

Preview with #A287CA

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

Preview Lab → · Contrast checker → · Palette generator →

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