#C87AED#C87AED

#C87AED is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.7% C 0.178 H 314.0°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#C87AED
RGBrgb(200, 122, 237)
HSLhsl(281, 76%, 70%)
HSVhsv(281, 49%, 93%)
CMYKcmyk(15.6%, 48.5%, 0%, 7.1%)
CIE-LABlab(63.60, 49.63, -46.12)
CIE-LCHlch(63.60, 67.75, 317.10°)
OKLaboklab(70.68% 0.1238 -0.1284)
OKLCHoklch(70.68% 0.178 314)
XYZxyz(46.0625, 32.3140, 83.9151)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87AED #9FED7A
analogous
#8F7AED #C87AED #ED7AD8
triadic
#C87AED #EDC87A #7AEDC8
tetradic
#C87AED #ED8F7A #9FED7A #7AD8ED
square
#C87AED #ED8F7A #9FED7A #7AD8ED
split-complementary
#C87AED #D8ED7A #7AED8F
monochromatic
#961CD0 #B244E6 #C87AED #DEB0F4 #F4E4FB

Accessibility & contrast

On white

2.81
#C87AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#C87AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87AED
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87AED#FFFFFF#000000##000000
##C87AED1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F1
Deuteranopia (green-blind)
#789CEA
Tritanopia (blue-blind)
#C58CA9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c87aed;
/* rgb */ color: rgb(200, 122, 237);
/* oklch */ color: oklch(70.7% 0.178 314.0);
Tailwind
colors: {
  custom: {
    50: '#dba3f3',
    500: '#c87aed',
    950: '#000000',
  },
}
SCSS
$custom: #c87aed;
$custom-light: #dba3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c87aed",
  "rgb": {
    "r": 200,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 280.696,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70678,
    "c": 0.17831,
    "h": 314
  },
  "luminance": 0.32313
}

Semantic roles & 50–950 ramp

primary
#C87AED
secondary
#DCF1D2
accent
#D80D4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87AED

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

Preview Lab → · Contrast checker → · Palette generator →

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