#C87FF3#C87FF3

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

Color values

HEX#C87FF3
RGBrgb(200, 127, 243)
HSLhsl(278, 83%, 73%)
HSVhsv(278, 48%, 95%)
CMYKcmyk(17.7%, 47.7%, 0%, 4.7%)
CIE-LABlab(64.91, 48.28, -47.38)
CIE-LCHlch(64.91, 67.64, 315.54°)
OKLaboklab(71.74% 0.1177 -0.132)
OKLCHoklch(71.74% 0.177 311.7)
XYZxyz(47.5836, 33.9301, 88.8192)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FF3 #AAF37F
analogous
#8E7FF3 #C87FF3 #F37FE4
triadic
#C87FF3 #F3C87F #7FF3C8
tetradic
#C87FF3 #F38E7F #AAF37F #7FE4F3
square
#C87FF3 #F38E7F #AAF37F #7FE4F3
split-complementary
#C87FF3 #E4F37F #7FF38E
monochromatic
#9615E2 #B047EE #C87FF3 #E0B7F8 #F3E3FC

Accessibility & contrast

On white

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

On black

7.79
#C87FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FF3
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FF3#FFFFFF#000000##000000
##C87FF31.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF7
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#C391AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c87ff3;
/* rgb */ color: rgb(200, 127, 243);
/* oklch */ color: oklch(71.7% 0.177 311.7);
Tailwind
colors: {
  custom: {
    50: '#dba6f7',
    500: '#c87ff3',
    950: '#000000',
  },
}
SCSS
$custom: #c87ff3;
$custom-light: #dba6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c87ff3",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 277.759,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71742,
    "c": 0.17689,
    "h": 311.7
  },
  "luminance": 0.33929
}

Semantic roles & 50–950 ramp

primary
#C87FF3
secondary
#E2F4D7
accent
#DF0657
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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