#C87DEF#C87DEF

#C87DEF is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.2% C 0.176 H 313.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#C87DEF
RGBrgb(200, 125, 239)
HSLhsl(279, 78%, 71%)
HSVhsv(279, 48%, 94%)
CMYKcmyk(16.3%, 47.7%, 0%, 6.3%)
CIE-LABlab(64.31, 48.48, -46.12)
CIE-LCHlch(64.31, 66.91, 316.43°)
OKLaboklab(71.23% 0.1199 -0.1284)
OKLCHoklch(71.23% 0.176 313.1)
XYZxyz(46.7304, 33.1797, 85.5872)
Luminance0.3318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87DEF #A4EF7D
analogous
#8F7DEF #C87DEF #EF7DDD
triadic
#C87DEF #EFC87D #7DEFC8
tetradic
#C87DEF #EF8F7D #A4EF7D #7DDDEF
square
#C87DEF #EF8F7D #A4EF7D #7DDDEF
split-complementary
#C87DEF #DDEF7D #7DEF8F
monochromatic
#971AD7 #B147E8 #C87DEF #DFB3F6 #F3E4FC

Accessibility & contrast

On white

2.75
#C87DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#C87DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87DEF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87DEF#FFFFFF#000000##000000
##C87DEF1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#799EEC
Tritanopia (blue-blind)
#C48FAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87def;
/* rgb */ color: rgb(200, 125, 239);
/* oklch */ color: oklch(71.2% 0.176 313.1);
Tailwind
colors: {
  custom: {
    50: '#dba4f4',
    500: '#c87def',
    950: '#000000',
  },
}
SCSS
$custom: #c87def;
$custom-light: #dba4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c87def",
  "rgb": {
    "r": 200,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 279.474,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71233,
    "c": 0.17568,
    "h": 313.1
  },
  "luminance": 0.33179
}

Semantic roles & 50–950 ramp

primary
#C87DEF
secondary
#DFF3D5
accent
#DA0B52
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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