#C862CC#C862CC

#C862CC is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.6% C 0.184 H 326.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#C862CC
RGBrgb(200, 98, 204)
HSLhsl(298, 51%, 59%)
HSVhsv(298, 52%, 80%)
CMYKcmyk(2%, 52%, 0%, 20%)
CIE-LABlab(57.44, 55.26, -37.31)
CIE-LCHlch(57.44, 66.68, 325.98°)
OKLaboklab(65.61% 0.1522 -0.1027)
OKLCHoklch(65.61% 0.184 326)
XYZxyz(39.0854, 25.3765, 59.9544)
Luminance0.2537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862CC #66CC62
analogous
#9362CC #C862CC #CC629B
triadic
#C862CC #CCC862 #62CCC8
tetradic
#C862CC #CC9362 #66CC62 #629BCC
square
#C862CC #CC9362 #66CC62 #629BCC
split-complementary
#C862CC #9BCC62 #62CC93
monochromatic
#842C88 #B13BB6 #C862CC #D890DB #E8BEEA

Accessibility & contrast

On white

3.46
#C862CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#C862CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862CC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862CC#FFFFFF#000000##000000
##C862CC1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#768EC9
Tritanopia (blue-blind)
#CD6F8E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c862cc;
/* rgb */ color: rgb(200, 98, 204);
/* oklch */ color: oklch(65.6% 0.184 326.0);
Tailwind
colors: {
  custom: {
    50: '#db93dc',
    500: '#c862cc',
    950: '#000000',
  },
}
SCSS
$custom: #c862cc;
$custom-light: #db93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c862cc",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 297.736,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65614,
    "c": 0.18359,
    "h": 326
  },
  "luminance": 0.25374
}

Semantic roles & 50–950 ramp

primary
#C862CC
secondary
#B2DAB0
accent
#DA4D53
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C862CC

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

Preview Lab → · Contrast checker → · Palette generator →

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