#A87CF2#A87CF2

#A87CF2 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.0% C 0.172 H 299.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A87CF2
RGBrgb(168, 124, 242)
HSLhsl(262, 82%, 72%)
HSVhsv(262, 49%, 95%)
CMYKcmyk(30.6%, 48.8%, 0%, 5.1%)
CIE-LABlab(60.91, 41.22, -53.36)
CIE-LCHlch(60.91, 67.43, 307.69°)
OKLaboklab(68% 0.0832 -0.1502)
OKLCHoklch(68% 0.172 299)
XYZxyz(39.3793, 29.1506, 87.5391)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CF2 #C6F27C
analogous
#7C8BF2 #A87CF2 #E37CF2
triadic
#A87CF2 #F2A87C #7CF2A8
tetradic
#A87CF2 #F27C8B #C6F27C #7CF2E3
square
#A87CF2 #F27C8B #C6F27C #7CF2E3
split-complementary
#A87CF2 #F2E37C #8BF27C
monochromatic
#6016DE #8344EC #A87CF2 #CDB4F8 #EDE3FC

Accessibility & contrast

On white

3.07
#A87CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#A87CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CF2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CF2#FFFFFF#000000##000000
##A87CF21.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#9992AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87cf2;
/* rgb */ color: rgb(168, 124, 242);
/* oklch */ color: oklch(68.0% 0.172 299.0);
Tailwind
colors: {
  custom: {
    50: '#c5a3f7',
    500: '#a87cf2',
    950: '#000000',
  },
}
SCSS
$custom: #a87cf2;
$custom-light: #c5a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cf2",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 262.373,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67999,
    "c": 0.17174,
    "h": 299
  },
  "luminance": 0.29151
}

Semantic roles & 50–950 ramp

primary
#A87CF2
secondary
#E9F4D6
accent
#DE078E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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