#A287FB#A287FB

#A287FB is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.8% C 0.166 H 292.3°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#A287FB
RGBrgb(162, 135, 251)
HSLhsl(254, 94%, 76%)
HSVhsv(254, 46%, 98%)
CMYKcmyk(35.5%, 46.2%, 0%, 1.6%)
CIE-LABlab(63.32, 35.81, -54.53)
CIE-LCHlch(63.32, 65.23, 303.29°)
OKLaboklab(69.82% 0.063 -0.1538)
OKLCHoklch(69.82% 0.166 292.3)
XYZxyz(40.9723, 31.9734, 95.2609)
Luminance0.3197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287FB #E0FB87
analogous
#87A6FB #A287FB #DC87FB
triadic
#A287FB #FBA287 #87FBA2
tetradic
#A287FB #FB87A6 #E0FB87 #87FBDC
square
#A287FB #FB87A6 #E0FB87 #87FBDC
split-complementary
#A287FB #FBDC87 #A6FB87
monochromatic
#4611F7 #744CF9 #A287FB #D0C2FD #E8E1FE

Accessibility & contrast

On white

2.84
#A287FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#A287FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A287FB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287FB#FFFFFF#000000##000000
##A287FB1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#6297F8
Tritanopia (blue-blind)
#8C9EB5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a287fb;
/* rgb */ color: rgb(162, 135, 251);
/* oklch */ color: oklch(69.8% 0.166 292.3);
Tailwind
colors: {
  custom: {
    50: '#c1aafd',
    500: '#a287fb',
    950: '#000000',
  },
}
SCSS
$custom: #a287fb;
$custom-light: #c1aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#a287fb",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 253.966,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69824,
    "c": 0.16617,
    "h": 292.3
  },
  "luminance": 0.31974
}

Semantic roles & 50–950 ramp

primary
#A287FB
secondary
#EEF6D5
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A287FB

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

Preview Lab → · Contrast checker → · Palette generator →

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