#C87AEC#C87AEC

#C87AEC is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.6% C 0.177 H 314.2°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#C87AEC
RGBrgb(200, 122, 236)
HSLhsl(281, 75%, 70%)
HSVhsv(281, 48%, 93%)
CMYKcmyk(15.3%, 48.3%, 0%, 7.5%)
CIE-LABlab(63.55, 49.42, -45.65)
CIE-LCHlch(63.55, 67.28, 317.28°)
OKLaboklab(70.63% 0.1236 -0.127)
OKLCHoklch(70.63% 0.177 314.2)
XYZxyz(45.9168, 32.2557, 83.1478)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87AEC #9EEC7A
analogous
#8F7AEC #C87AEC #EC7AD7
triadic
#C87AEC #ECC87A #7AECC8
tetradic
#C87AEC #EC8F7A #9EEC7A #7AD7EC
square
#C87AEC #EC8F7A #9EEC7A #7AD7EC
split-complementary
#C87AEC #D7EC7A #7AEC8F
monochromatic
#961DCE #B244E4 #C87AEC #DEB0F4 #F4E4FB

Accessibility & contrast

On white

2.82
#C87AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#C87AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87AEC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87AEC#FFFFFF#000000##000000
##C87AEC1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295F0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#C58BA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c87aec;
/* rgb */ color: rgb(200, 122, 236);
/* oklch */ color: oklch(70.6% 0.177 314.2);
Tailwind
colors: {
  custom: {
    50: '#dba2f2',
    500: '#c87aec',
    950: '#000000',
  },
}
SCSS
$custom: #c87aec;
$custom-light: #dba2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c87aec",
  "rgb": {
    "r": 200,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 281.053,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70627,
    "c": 0.17722,
    "h": 314.2
  },
  "luminance": 0.32255
}

Semantic roles & 50–950 ramp

primary
#C87AEC
secondary
#DBF1D1
accent
#D70E4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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