#C864FE#C864FE

#C864FE is a light, highly saturated violet. Relative luminance 0.285; OKLCH L 68.6% C 0.229 H 311.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#C864FE
RGBrgb(200, 100, 254)
HSLhsl(279, 99%, 69%)
HSVhsv(279, 61%, 100%)
CMYKcmyk(21.3%, 60.6%, 0%, 0.4%)
CIE-LABlab(60.38, 64.07, -60.63)
CIE-LCHlch(60.38, 88.21, 316.58°)
OKLaboklab(68.6% 0.1525 -0.1705)
OKLCHoklch(68.6% 0.229 311.8)
XYZxyz(46.2627, 28.5506, 96.8205)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C864FE #9AFE64
analogous
#7B64FE #C864FE #FE64E7
triadic
#C864FE #FEC864 #64FEC8
tetradic
#C864FE #FE7B64 #9AFE64 #64E7FE
square
#C864FE #FE7B64 #9AFE64 #64E7FE
split-complementary
#C864FE #E7FE64 #64FE7B
monochromatic
#9601E6 #B227FE #C864FE #DEA1FE #F3DEFF

Accessibility & contrast

On white

3.13
#C864FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#C864FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C864FE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C864FE#FFFFFF#000000##000000
##C864FE1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#268DFF
Deuteranopia (green-blind)
#5794FA
Tritanopia (blue-blind)
#C281A8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c864fe;
/* rgb */ color: rgb(200, 100, 254);
/* oklch */ color: oklch(68.6% 0.229 311.8);
Tailwind
colors: {
  custom: {
    50: '#dc95ff',
    500: '#c864fe',
    950: '#000000',
  },
}
SCSS
$custom: #c864fe;
$custom-light: #dc95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c864fe",
  "rgb": {
    "r": 200,
    "g": 100,
    "b": 254
  },
  "hsl": {
    "h": 278.961,
    "s": 98.718,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68604,
    "c": 0.2288,
    "h": 311.8
  },
  "luminance": 0.28549
}

Semantic roles & 50–950 ramp

primary
#C864FE
secondary
#D8F5C9
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C864FE

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

Preview Lab → · Contrast checker → · Palette generator →

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