#C87EF6#C87EF6

#C87EF6 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.7% C 0.182 H 311.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#C87EF6
RGBrgb(200, 126, 246)
HSLhsl(277, 87%, 73%)
HSVhsv(277, 49%, 96%)
CMYKcmyk(18.7%, 48.8%, 0%, 3.5%)
CIE-LABlab(64.85, 49.45, -49.12)
CIE-LCHlch(64.85, 69.70, 315.19°)
OKLaboklab(71.75% 0.1194 -0.1371)
OKLCHoklch(71.75% 0.182 311.1)
XYZxyz(47.9118, 33.8558, 91.1818)
Luminance0.3386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EF6 #ACF67E
analogous
#8C7EF6 #C87EF6 #F67EE8
triadic
#C87EF6 #F6C87E #7EF6C8
tetradic
#C87EF6 #F68C7E #ACF67E #7EE8F6
square
#C87EF6 #F68C7E #ACF67E #7EE8F6
split-complementary
#C87EF6 #E8F67E #7EF68C
monochromatic
#9610E9 #B045F2 #C87EF6 #E0B7FA #F3E2FD

Accessibility & contrast

On white

2.70
#C87EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#C87EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EF6
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EF6#FFFFFF#000000##000000
##C87EF61.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#C391AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c87ef6;
/* rgb */ color: rgb(200, 126, 246);
/* oklch */ color: oklch(71.7% 0.182 311.1);
Tailwind
colors: {
  custom: {
    50: '#dba5f9',
    500: '#c87ef6',
    950: '#000000',
  },
}
SCSS
$custom: #c87ef6;
$custom-light: #dba5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c87ef6",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 277,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71746,
    "c": 0.18181,
    "h": 311.1
  },
  "luminance": 0.33855
}

Semantic roles & 50–950 ramp

primary
#C87EF6
secondary
#E2F5D6
accent
#E40258
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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