#C868FE#C868FE

#C868FE is a light, highly saturated violet. Relative luminance 0.293; OKLCH L 69.1% C 0.223 H 311.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#C868FE
RGBrgb(200, 104, 254)
HSLhsl(278, 99%, 70%)
HSVhsv(278, 59%, 100%)
CMYKcmyk(21.3%, 59.1%, 0%, 0.4%)
CIE-LABlab(61.08, 62.19, -59.52)
CIE-LCHlch(61.08, 86.08, 316.26°)
OKLaboklab(69.11% 0.1478 -0.1673)
OKLCHoklch(69.11% 0.223 311.5)
XYZxyz(46.6559, 29.3368, 96.9515)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C868FE #9EFE68
analogous
#7D68FE #C868FE #FE68E9
triadic
#C868FE #FEC868 #68FEC8
tetradic
#C868FE #FE7D68 #9EFE68 #68E9FE
square
#C868FE #FE7D68 #9EFE68 #68E9FE
split-complementary
#C868FE #E9FE68 #68FE7D
monochromatic
#9602EA #B22BFE #C868FE #DEA5FE #F4E1FF

Accessibility & contrast

On white

3.06
#C868FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#C868FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C868FE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C868FE#FFFFFF#000000##000000
##C868FE1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#318FFF
Deuteranopia (green-blind)
#5B95FA
Tritanopia (blue-blind)
#C284AA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c868fe;
/* rgb */ color: rgb(200, 104, 254);
/* oklch */ color: oklch(69.1% 0.223 311.5);
Tailwind
colors: {
  custom: {
    50: '#dc98ff',
    500: '#c868fe',
    950: '#000000',
  },
}
SCSS
$custom: #c868fe;
$custom-light: #dc98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c868fe",
  "rgb": {
    "r": 200,
    "g": 104,
    "b": 254
  },
  "hsl": {
    "h": 278.4,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69109,
    "c": 0.22325,
    "h": 311.5
  },
  "luminance": 0.29336
}

Semantic roles & 50–950 ramp

primary
#C868FE
secondary
#DBF6CC
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C868FE

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

Preview Lab → · Contrast checker → · Palette generator →

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