#C87AEA#C87AEA

#C87AEA is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.175 H 314.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#C87AEA
RGBrgb(200, 122, 234)
HSLhsl(282, 73%, 70%)
HSVhsv(282, 48%, 92%)
CMYKcmyk(14.5%, 47.9%, 0%, 8.2%)
CIE-LABlab(63.46, 49.01, -44.69)
CIE-LCHlch(63.46, 66.32, 317.64°)
OKLaboklab(70.53% 0.1234 -0.1242)
OKLCHoklch(70.53% 0.175 314.8)
XYZxyz(45.6279, 32.1402, 81.6260)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87AEA #9CEA7A
analogous
#907AEA #C87AEA #EA7AD4
triadic
#C87AEA #EAC87A #7AEAC8
tetradic
#C87AEA #EA907A #9CEA7A #7AD4EA
square
#C87AEA #EA907A #9CEA7A #7AD4EA
split-complementary
#C87AEA #D4EA7A #7AEA90
monochromatic
#9620CA #B245E2 #C87AEA #DEAFF2 #F4E4FB

Accessibility & contrast

On white

2.83
#C87AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#C87AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87AEA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87AEA#FFFFFF#000000##000000
##C87AEA1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#C68BA7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c87aea;
/* rgb */ color: rgb(200, 122, 234);
/* oklch */ color: oklch(70.5% 0.175 314.8);
Tailwind
colors: {
  custom: {
    50: '#dba2f1',
    500: '#c87aea',
    950: '#000000',
  },
}
SCSS
$custom: #c87aea;
$custom-light: #dba2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c87aea",
  "rgb": {
    "r": 200,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 281.786,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70525,
    "c": 0.17507,
    "h": 314.8
  },
  "luminance": 0.32139
}

Semantic roles & 50–950 ramp

primary
#C87AEA
secondary
#DAF0D0
accent
#D5114C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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