#C862C8#C862C8

#C862C8 is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.4% C 0.180 H 327.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#C862C8
RGBrgb(200, 98, 200)
HSLhsl(300, 48%, 58%)
HSVhsv(300, 51%, 78%)
CMYKcmyk(0%, 51%, 0%, 21.6%)
CIE-LABlab(57.26, 54.55, -35.32)
CIE-LCHlch(57.26, 64.98, 327.08°)
OKLaboklab(65.42% 0.1516 -0.097)
OKLCHoklch(65.42% 0.18 327.4)
XYZxyz(38.6118, 25.1870, 57.4602)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862C8 #62C862
analogous
#9562C8 #C862C8 #C86295
triadic
#C862C8 #C8C862 #62C8C8
tetradic
#C862C8 #C89562 #62C862 #6295C8
square
#C862C8 #C89562 #62C862 #6295C8
split-complementary
#C862C8 #95C862 #62C895
monochromatic
#822E82 #AF3DAF #C862C8 #D88FD8 #E8BDE8

Accessibility & contrast

On white

3.48
#C862C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#C862C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862C8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862C8#FFFFFF#000000##000000
##C862C81.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CB
Deuteranopia (green-blind)
#778EC5
Tritanopia (blue-blind)
#CD6D8C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c862c8;
/* rgb */ color: rgb(200, 98, 200);
/* oklch */ color: oklch(65.4% 0.180 327.4);
Tailwind
colors: {
  custom: {
    50: '#db93d9',
    500: '#c862c8',
    950: '#000000',
  },
}
SCSS
$custom: #c862c8;
$custom-light: #db93d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c862c8",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 300,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65419,
    "c": 0.17998,
    "h": 327.4
  },
  "luminance": 0.25185
}

Semantic roles & 50–950 ramp

primary
#C862C8
secondary
#AFD7AF
accent
#D85050
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C862C8

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

Preview Lab → · Contrast checker → · Palette generator →

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