#C862FE#C862FE

#C862FE is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 68.4% C 0.232 H 312.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#C862FE
RGBrgb(200, 98, 254)
HSLhsl(279, 99%, 69%)
HSVhsv(279, 61%, 100%)
CMYKcmyk(21.3%, 61.4%, 0%, 0.4%)
CIE-LABlab(60.04, 65.00, -61.17)
CIE-LCHlch(60.04, 89.26, 316.74°)
OKLaboklab(68.36% 0.1548 -0.1721)
OKLCHoklch(68.36% 0.232 312)
XYZxyz(46.0733, 28.1716, 96.7573)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862FE #98FE62
analogous
#7A62FE #C862FE #FE62E6
triadic
#C862FE #FEC862 #62FEC8
tetradic
#C862FE #FE7A62 #98FE62 #62E6FE
square
#C862FE #FE7A62 #98FE62 #62E6FE
split-complementary
#C862FE #E6FE62 #62FE7A
monochromatic
#9601E4 #B325FE #C862FE #DD9FFE #F3DCFF

Accessibility & contrast

On white

3.17
#C862FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#C862FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862FE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862FE#FFFFFF#000000##000000
##C862FE1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F8CFF
Deuteranopia (green-blind)
#5593FA
Tritanopia (blue-blind)
#C280A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c862fe;
/* rgb */ color: rgb(200, 98, 254);
/* oklch */ color: oklch(68.4% 0.232 312.0);
Tailwind
colors: {
  custom: {
    50: '#dc94ff',
    500: '#c862fe',
    950: '#000000',
  },
}
SCSS
$custom: #c862fe;
$custom-light: #dc94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c862fe",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 279.231,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68358,
    "c": 0.23152,
    "h": 312
  },
  "luminance": 0.2817
}

Semantic roles & 50–950 ramp

primary
#C862FE
secondary
#D7F5C7
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C862FE

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

Preview Lab → · Contrast checker → · Palette generator →

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