#C87AEF#C87AEF

#C87AEF is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.180 H 313.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#C87AEF
RGBrgb(200, 122, 239)
HSLhsl(280, 79%, 71%)
HSVhsv(280, 49%, 94%)
CMYKcmyk(16.3%, 49%, 0%, 6.3%)
CIE-LABlab(63.70, 50.05, -47.08)
CIE-LCHlch(63.70, 68.71, 316.75°)
OKLaboklab(70.78% 0.124 -0.1311)
OKLCHoklch(70.78% 0.18 313.4)
XYZxyz(46.3563, 32.4315, 85.4626)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87AEF #A1EF7A
analogous
#8D7AEF #C87AEF #EF7ADB
triadic
#C87AEF #EFC87A #7AEFC8
tetradic
#C87AEF #EF8D7A #A1EF7A #7ADBEF
square
#C87AEF #EF8D7A #A1EF7A #7ADBEF
split-complementary
#C87AEF #DBEF7A #7AEF8D
monochromatic
#971AD5 #B143E8 #C87AEF #DFB1F6 #F4E4FC

Accessibility & contrast

On white

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

On black

7.49
#C87AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87AEF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87AEF#FFFFFF#000000##000000
##C87AEF1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#779CEC
Tritanopia (blue-blind)
#C58CAA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c87aef;
/* rgb */ color: rgb(200, 122, 239);
/* oklch */ color: oklch(70.8% 0.180 313.4);
Tailwind
colors: {
  custom: {
    50: '#dba3f5',
    500: '#c87aef',
    950: '#000000',
  },
}
SCSS
$custom: #c87aef;
$custom-light: #dba3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c87aef",
  "rgb": {
    "r": 200,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 280,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70781,
    "c": 0.18047,
    "h": 313.4
  },
  "luminance": 0.3243
}

Semantic roles & 50–950 ramp

primary
#C87AEF
secondary
#DDF2D3
accent
#DB0B50
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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