#A287D5#A287D5

#A287D5 is a light, moderate violet. Relative luminance 0.298; OKLCH L 67.8% C 0.116 H 299.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A287D5
RGBrgb(162, 135, 213)
HSLhsl(261, 48%, 68%)
HSVhsv(261, 37%, 84%)
CMYKcmyk(23.9%, 36.6%, 0%, 16.5%)
CIE-LABlab(61.49, 26.30, -36.35)
CIE-LCHlch(61.49, 44.87, 305.89°)
OKLaboklab(67.84% 0.0565 -0.101)
OKLCHoklch(67.84% 0.116 299.2)
XYZxyz(35.5718, 29.8132, 66.8184)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287D5 #BAD587
analogous
#8793D5 #A287D5 #C987D5
triadic
#A287D5 #D5A287 #87D5A2
tetradic
#A287D5 #D58793 #BAD587 #87D5C9
square
#A287D5 #D58793 #BAD587 #87D5C9
split-complementary
#A287D5 #D5C987 #93D587
monochromatic
#603AA7 #7F5AC5 #A287D5 #C5B4E5 #E8E2F5

Accessibility & contrast

On white

3.02
#A287D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#A287D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A287D5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287D5#FFFFFF#000000##000000
##A287D51.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D8
Deuteranopia (green-blind)
#7994D3
Tritanopia (blue-blind)
#9894A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a287d5;
/* rgb */ color: rgb(162, 135, 213);
/* oklch */ color: oklch(67.8% 0.116 299.2);
Tailwind
colors: {
  custom: {
    50: '#bfaae2',
    500: '#a287d5',
    950: '#000000',
  },
}
SCSS
$custom: #a287d5;
$custom-light: #bfaae2;
$custom-dark: #000000;
JSON
{
  "hex": "#a287d5",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 260.769,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67844,
    "c": 0.11572,
    "h": 299.2
  },
  "luminance": 0.29813
}

Semantic roles & 50–950 ramp

primary
#A287D5
secondary
#E0E8D0
accent
#BB2A89
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A287D5

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

Preview Lab → · Contrast checker → · Palette generator →

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