#A287FC#A287FC

#A287FC is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.9% C 0.167 H 292.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#A287FC
RGBrgb(162, 135, 252)
HSLhsl(254, 95%, 76%)
HSVhsv(254, 46%, 99%)
CMYKcmyk(35.7%, 46.4%, 0%, 1.2%)
CIE-LABlab(63.37, 36.07, -54.99)
CIE-LCHlch(63.37, 65.76, 303.26°)
OKLaboklab(69.88% 0.0631 -0.1551)
OKLCHoklch(69.88% 0.167 292.1)
XYZxyz(41.1303, 32.0366, 96.0932)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287FC #E1FC87
analogous
#87A6FC #A287FC #DC87FC
triadic
#A287FC #FCA287 #87FCA2
tetradic
#A287FC #FC87A6 #E1FC87 #87FCDC
square
#A287FC #FC87A6 #E1FC87 #87FCDC
split-complementary
#A287FC #FCDC87 #A6FC87
monochromatic
#4510F9 #744BFB #A287FC #D0C3FD #E8E1FE

Accessibility & contrast

On white

2.83
#A287FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#A287FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A287FC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287FC#FFFFFF#000000##000000
##A287FC1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6197F9
Tritanopia (blue-blind)
#8C9EB6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a287fc;
/* rgb */ color: rgb(162, 135, 252);
/* oklch */ color: oklch(69.9% 0.167 292.1);
Tailwind
colors: {
  custom: {
    50: '#c1aafe',
    500: '#a287fc',
    950: '#000000',
  },
}
SCSS
$custom: #a287fc;
$custom-light: #c1aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#a287fc",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 253.846,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.6988,
    "c": 0.16748,
    "h": 292.1
  },
  "luminance": 0.32038
}

Semantic roles & 50–950 ramp

primary
#A287FC
secondary
#EFF6D5
accent
#E600B1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A287FC

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

Preview Lab → · Contrast checker → · Palette generator →

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