#C87AEB#C87AEB

#C87AEB is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.6% C 0.176 H 314.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#C87AEB
RGBrgb(200, 122, 235)
HSLhsl(281, 74%, 70%)
HSVhsv(281, 48%, 92%)
CMYKcmyk(14.9%, 48.1%, 0%, 7.8%)
CIE-LABlab(63.51, 49.22, -45.17)
CIE-LCHlch(63.51, 66.80, 317.46°)
OKLaboklab(70.58% 0.1235 -0.1256)
OKLCHoklch(70.58% 0.176 314.5)
XYZxyz(45.7719, 32.1978, 82.3848)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87AEB #9DEB7A
analogous
#907AEB #C87AEB #EB7AD5
triadic
#C87AEB #EBC87A #7AEBC8
tetradic
#C87AEB #EB907A #9DEB7A #7AD5EB
square
#C87AEB #EB907A #9DEB7A #7AD5EB
split-complementary
#C87AEB #D5EB7A #7AEB90
monochromatic
#961FCC #B245E3 #C87AEB #DEAFF3 #F4E4FB

Accessibility & contrast

On white

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

On black

7.44
#C87AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87AEB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87AEB#FFFFFF#000000##000000
##C87AEB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#C68BA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c87aeb;
/* rgb */ color: rgb(200, 122, 235);
/* oklch */ color: oklch(70.6% 0.176 314.5);
Tailwind
colors: {
  custom: {
    50: '#dba2f2',
    500: '#c87aeb',
    950: '#000000',
  },
}
SCSS
$custom: #c87aeb;
$custom-light: #dba2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c87aeb",
  "rgb": {
    "r": 200,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 281.416,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.70576,
    "c": 0.17614,
    "h": 314.5
  },
  "luminance": 0.32197
}

Semantic roles & 50–950 ramp

primary
#C87AEB
secondary
#DAF0D1
accent
#D6104D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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