#C87AF9#C87AF9

#C87AF9 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.3% C 0.191 H 310.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#C87AF9
RGBrgb(200, 122, 249)
HSLhsl(277, 91%, 73%)
HSVhsv(277, 51%, 98%)
CMYKcmyk(19.7%, 51%, 0%, 2.4%)
CIE-LABlab(64.19, 52.17, -51.81)
CIE-LCHlch(64.19, 73.52, 315.20°)
OKLaboklab(71.31% 0.125 -0.1449)
OKLCHoklch(71.31% 0.191 310.8)
XYZxyz(47.8747, 33.0389, 93.4593)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87AF9 #ABF97A
analogous
#887AF9 #C87AF9 #F97AEB
triadic
#C87AF9 #F9C87A #7AF9C8
tetradic
#C87AF9 #F9887A #ABF97A #7AEBF9
square
#C87AF9 #F9887A #ABF97A #7AEBF9
split-complementary
#C87AF9 #EBF97A #7AF988
monochromatic
#960BEE #B03FF6 #C87AF9 #E0B5FC #F3E2FE

Accessibility & contrast

On white

2.76
#C87AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#C87AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87AF9
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87AF9#FFFFFF#000000##000000
##C87AF91.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FD
Deuteranopia (green-blind)
#719DF6
Tritanopia (blue-blind)
#C28FAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87af9;
/* rgb */ color: rgb(200, 122, 249);
/* oklch */ color: oklch(71.3% 0.191 310.8);
Tailwind
colors: {
  custom: {
    50: '#dba3fc',
    500: '#c87af9',
    950: '#000000',
  },
}
SCSS
$custom: #c87af9;
$custom-light: #dba3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c87af9",
  "rgb": {
    "r": 200,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 276.85,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71308,
    "c": 0.19136,
    "h": 310.8
  },
  "luminance": 0.33038
}

Semantic roles & 50–950 ramp

primary
#C87AF9
secondary
#E2F6D5
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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