#A287C4#A287C4

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

Color values

HEX#A287C4
RGBrgb(162, 135, 196)
HSLhsl(267, 34%, 65%)
HSVhsv(267, 31%, 77%)
CMYKcmyk(17.3%, 31.1%, 0%, 23.1%)
CIE-LABlab(60.78, 22.34, -27.91)
CIE-LCHlch(60.78, 35.75, 308.68°)
OKLaboklab(67.06% 0.0524 -0.0768)
OKLCHoklch(67.06% 0.093 304.3)
XYZxyz(33.5261, 28.9949, 56.0442)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287C4 #A9C487
analogous
#878BC4 #A287C4 #C087C4
triadic
#A287C4 #C4A287 #87C4A2
tetradic
#A287C4 #C4878B #A9C487 #87C4C0
square
#A287C4 #C4878B #A9C487 #87C4C0
split-complementary
#A287C4 #C4C087 #8BC487
monochromatic
#64458C #825EB0 #A287C4 #C2B0D8 #E2D9EC

Accessibility & contrast

On white

3.09
#A287C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#A287C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A287C4
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287C4#FFFFFF#000000##000000
##A287C41.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C6
Deuteranopia (green-blind)
#8093C2
Tritanopia (blue-blind)
#9D909D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a287c4;
/* rgb */ color: rgb(162, 135, 196);
/* oklch */ color: oklch(67.1% 0.093 304.3);
Tailwind
colors: {
  custom: {
    50: '#beaad6',
    500: '#a287c4',
    950: '#000000',
  },
}
SCSS
$custom: #a287c4;
$custom-light: #beaad6;
$custom-dark: #000000;
JSON
{
  "hex": "#a287c4",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 196
  },
  "hsl": {
    "h": 266.557,
    "s": 34.078,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67063,
    "c": 0.09295,
    "h": 304.3
  },
  "luminance": 0.28995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A287C4

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

Preview Lab → · Contrast checker → · Palette generator →

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