#C862F8#C862F8

#C862F8 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.0% C 0.226 H 313.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#C862F8
RGBrgb(200, 98, 248)
HSLhsl(281, 91%, 68%)
HSVhsv(281, 60%, 97%)
CMYKcmyk(19.4%, 60.5%, 0%, 2.7%)
CIE-LABlab(59.70, 63.77, -58.40)
CIE-LCHlch(59.70, 86.47, 317.51°)
OKLaboklab(68% 0.1549 -0.164)
OKLCHoklch(68% 0.226 313.4)
XYZxyz(45.1275, 27.7933, 91.7762)
Luminance0.2779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862F8 #92F862
analogous
#7D62F8 #C862F8 #F862DD
triadic
#C862F8 #F8C862 #62F8C8
tetradic
#C862F8 #F87D62 #92F862 #62DDF8
square
#C862F8 #F87D62 #92F862 #62DDF8
split-complementary
#C862F8 #DDF862 #62F87D
monochromatic
#950AD6 #B327F5 #C862F8 #DD9DFB #F1D7FD

Accessibility & contrast

On white

3.20
#C862F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#C862F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862F8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862F8#FFFFFF#000000##000000
##C862F81.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFD
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#C37EA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c862f8;
/* rgb */ color: rgb(200, 98, 248);
/* oklch */ color: oklch(68.0% 0.226 313.4);
Tailwind
colors: {
  custom: {
    50: '#dc94fb',
    500: '#c862f8',
    950: '#000000',
  },
}
SCSS
$custom: #c862f8;
$custom-light: #dc94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c862f8",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 280.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68,
    "c": 0.22561,
    "h": 313.4
  },
  "luminance": 0.27792
}

Semantic roles & 50–950 ramp

primary
#C862F8
secondary
#D3F2C4
accent
#E60049
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C862F8

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

Preview Lab → · Contrast checker → · Palette generator →

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