#C868FC#C868FC

#C868FC is a light, highly saturated violet. Relative luminance 0.292; OKLCH L 69.0% C 0.221 H 311.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#C868FC
RGBrgb(200, 104, 252)
HSLhsl(279, 96%, 70%)
HSVhsv(279, 59%, 99%)
CMYKcmyk(20.6%, 58.7%, 0%, 1.2%)
CIE-LABlab(60.97, 61.77, -58.59)
CIE-LCHlch(60.97, 85.14, 316.51°)
OKLaboklab(68.99% 0.1478 -0.1646)
OKLCHoklch(68.99% 0.221 311.9)
XYZxyz(46.3373, 29.2094, 95.2736)
Luminance0.2921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C868FC #9CFC68
analogous
#7E68FC #C868FC #FC68E6
triadic
#C868FC #FCC868 #68FCC8
tetradic
#C868FC #FC7E68 #9CFC68 #68E6FC
square
#C868FC #FC7E68 #9CFC68 #68E6FC
split-complementary
#C868FC #E6FC68 #68FC7E
monochromatic
#9605E5 #B22CFB #C868FC #DEA4FD #F4E0FE

Accessibility & contrast

On white

3.07
#C868FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#C868FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C868FC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C868FC#FFFFFF#000000##000000
##C868FC1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#348EFF
Deuteranopia (green-blind)
#5D95F8
Tritanopia (blue-blind)
#C283A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c868fc;
/* rgb */ color: rgb(200, 104, 252);
/* oklch */ color: oklch(69.0% 0.221 311.9);
Tailwind
colors: {
  custom: {
    50: '#dc97fe',
    500: '#c868fc',
    950: '#000000',
  },
}
SCSS
$custom: #c868fc;
$custom-light: #dc97fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c868fc",
  "rgb": {
    "r": 200,
    "g": 104,
    "b": 252
  },
  "hsl": {
    "h": 278.919,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68991,
    "c": 0.22123,
    "h": 311.9
  },
  "luminance": 0.29208
}

Semantic roles & 50–950 ramp

primary
#C868FC
secondary
#DAF5CB
accent
#E60051
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C868FC

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

Preview Lab → · Contrast checker → · Palette generator →

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