#C87EFE#C87EFE

#C87EFE is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.2% C 0.191 H 309.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#C87EFE
RGBrgb(200, 126, 254)
HSLhsl(275, 98%, 75%)
HSVhsv(275, 50%, 100%)
CMYKcmyk(21.3%, 50.4%, 0%, 0.4%)
CIE-LABlab(65.25, 51.18, -52.88)
CIE-LCHlch(65.25, 73.59, 314.06°)
OKLaboklab(72.17% 0.1202 -0.148)
OKLCHoklch(72.17% 0.191 309.1)
XYZxyz(49.1662, 34.3576, 97.7883)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EFE #B4FE7E
analogous
#887EFE #C87EFE #FE7EF4
triadic
#C87EFE #FEC87E #7EFEC8
tetradic
#C87EFE #FE887E #B4FE7E #7EF4FE
square
#C87EFE #FE887E #B4FE7E #7EF4FE
split-complementary
#C87EFE #F4FE7E #7EFE88
monochromatic
#9405FD #AE41FE #C87EFE #E2BBFE #F2E1FF

Accessibility & contrast

On white

2.67
#C87EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#C87EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EFE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EFE#FFFFFF#000000##000000
##C87EFE1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#719FFB
Tritanopia (blue-blind)
#C194B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c87efe;
/* rgb */ color: rgb(200, 126, 254);
/* oklch */ color: oklch(72.2% 0.191 309.1);
Tailwind
colors: {
  custom: {
    50: '#dba5ff',
    500: '#c87efe',
    950: '#000000',
  },
}
SCSS
$custom: #c87efe;
$custom-light: #dba5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c87efe",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 274.688,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7217,
    "c": 0.19071,
    "h": 309.1
  },
  "luminance": 0.34357
}

Semantic roles & 50–950 ramp

primary
#C87EFE
secondary
#E3F7D4
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C87EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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