#A287C3#A287C3

#A287C3 is a light, moderate violet. Relative luminance 0.289; OKLCH L 67.0% C 0.092 H 304.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A287C3
RGBrgb(162, 135, 195)
HSLhsl(267, 33%, 65%)
HSVhsv(267, 31%, 76%)
CMYKcmyk(16.9%, 30.8%, 0%, 23.5%)
CIE-LABlab(60.74, 22.12, -27.41)
CIE-LCHlch(60.74, 35.22, 308.90°)
OKLaboklab(67.02% 0.0521 -0.0754)
OKLCHoklch(67.02% 0.092 304.6)
XYZxyz(33.4126, 28.9496, 55.4468)
Luminance0.2895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287C3 #A8C387
analogous
#878AC3 #A287C3 #C087C3
triadic
#A287C3 #C3A287 #87C3A2
tetradic
#A287C3 #C3878A #A8C387 #87C3C0
square
#A287C3 #C3878A #A8C387 #87C3C0
split-complementary
#A287C3 #C3C087 #8AC387
monochromatic
#64458A #825EAF #A287C3 #C2B0D7 #E1D9EC

Accessibility & contrast

On white

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

On black

6.79
#A287C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A287C3
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287C3#FFFFFF#000000##000000
##A287C31.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C5
Deuteranopia (green-blind)
#8093C1
Tritanopia (blue-blind)
#9D909D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a287c3;
/* rgb */ color: rgb(162, 135, 195);
/* oklch */ color: oklch(67.0% 0.092 304.6);
Tailwind
colors: {
  custom: {
    50: '#beaad5',
    500: '#a287c3',
    950: '#000000',
  },
}
SCSS
$custom: #a287c3;
$custom-light: #beaad5;
$custom-dark: #000000;
JSON
{
  "hex": "#a287c3",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 195
  },
  "hsl": {
    "h": 267,
    "s": 33.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67019,
    "c": 0.09162,
    "h": 304.6
  },
  "luminance": 0.28949
}

Semantic roles & 50–950 ramp

primary
#A287C3
secondary
#D4DDC9
accent
#AC3978
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#121014
muted
#817F83

Preview Lab

Preview with #A287C3

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

Preview Lab → · Contrast checker → · Palette generator →

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