#C862FB#C862FB

#C862FB is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.2% C 0.229 H 312.7°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#C862FB
RGBrgb(200, 98, 251)
HSLhsl(280, 95%, 68%)
HSVhsv(280, 61%, 98%)
CMYKcmyk(20.3%, 61%, 0%, 1.6%)
CIE-LABlab(59.87, 64.38, -59.79)
CIE-LCHlch(59.87, 87.86, 317.12°)
OKLaboklab(68.18% 0.1549 -0.1681)
OKLCHoklch(68.18% 0.229 312.7)
XYZxyz(45.5966, 27.9810, 94.2470)
Luminance0.2798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862FB #95FB62
analogous
#7B62FB #C862FB #FB62E1
triadic
#C862FB #FBC862 #62FBC8
tetradic
#C862FB #FB7B62 #95FB62 #62E1FB
square
#C862FB #FB7B62 #95FB62 #62E1FB
split-complementary
#C862FB #E1FB62 #62FB7B
monochromatic
#9506DD #B326F9 #C862FB #DD9EFD #F2D9FE

Accessibility & contrast

On white

3.18
#C862FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#C862FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862FB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862FB#FFFFFF#000000##000000
##C862FB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#258BFF
Deuteranopia (green-blind)
#5893F7
Tritanopia (blue-blind)
#C37FA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c862fb;
/* rgb */ color: rgb(200, 98, 251);
/* oklch */ color: oklch(68.2% 0.229 312.7);
Tailwind
colors: {
  custom: {
    50: '#dc94fd',
    500: '#c862fb',
    950: '#000000',
  },
}
SCSS
$custom: #c862fb;
$custom-light: #dc94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c862fb",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 280,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68178,
    "c": 0.22856,
    "h": 312.7
  },
  "luminance": 0.2798
}

Semantic roles & 50–950 ramp

primary
#C862FB
secondary
#D5F3C5
accent
#E6004C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C862FB

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

Preview Lab → · Contrast checker → · Palette generator →

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