#C87AFD#C87AFD

#C87AFD is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.5% C 0.196 H 309.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#C87AFD
RGBrgb(200, 122, 253)
HSLhsl(276, 97%, 74%)
HSVhsv(276, 52%, 99%)
CMYKcmyk(20.9%, 51.8%, 0%, 0.8%)
CIE-LABlab(64.40, 53.03, -53.68)
CIE-LCHlch(64.40, 75.46, 314.65°)
OKLaboklab(71.53% 0.1254 -0.1503)
OKLCHoklch(71.53% 0.196 309.8)
XYZxyz(48.5052, 33.2911, 96.7800)
Luminance0.3329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87AFD #AFFD7A
analogous
#867AFD #C87AFD #FD7AF1
triadic
#C87AFD #FDC87A #7AFDC8
tetradic
#C87AFD #FD867A #AFFD7A #7AF1FD
square
#C87AFD #FD867A #AFFD7A #7AF1FD
split-complementary
#C87AFD #F1FD7A #7AFD86
monochromatic
#9604F9 #AF3EFC #C87AFD #E1B6FE #F3E1FF

Accessibility & contrast

On white

2.74
#C87AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#C87AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87AFD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87AFD#FFFFFF#000000##000000
##C87AFD1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#6E9DFA
Tritanopia (blue-blind)
#C190B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87afd;
/* rgb */ color: rgb(200, 122, 253);
/* oklch */ color: oklch(71.5% 0.196 309.8);
Tailwind
colors: {
  custom: {
    50: '#dba3fe',
    500: '#c87afd',
    950: '#000000',
  },
}
SCSS
$custom: #c87afd;
$custom-light: #dba3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c87afd",
  "rgb": {
    "r": 200,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 275.725,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71525,
    "c": 0.19574,
    "h": 309.8
  },
  "luminance": 0.3329
}

Semantic roles & 50–950 ramp

primary
#C87AFD
secondary
#E2F7D4
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C87AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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