#C862CA#C862CA

#C862CA is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.5% C 0.182 H 326.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#C862CA
RGBrgb(200, 98, 202)
HSLhsl(299, 50%, 59%)
HSVhsv(299, 51%, 79%)
CMYKcmyk(1%, 51.5%, 0%, 20.8%)
CIE-LABlab(57.35, 54.90, -36.31)
CIE-LCHlch(57.35, 65.82, 326.52°)
OKLaboklab(65.52% 0.1519 -0.0999)
OKLCHoklch(65.52% 0.182 326.7)
XYZxyz(38.8470, 25.2811, 58.6992)
Luminance0.2528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862CA #64CA62
analogous
#9462CA #C862CA #CA6298
triadic
#C862CA #CAC862 #62CAC8
tetradic
#C862CA #CA9462 #64CA62 #6298CA
square
#C862CA #CA9462 #64CA62 #6298CA
split-complementary
#C862CA #98CA62 #62CA94
monochromatic
#832D85 #B03CB3 #C862CA #D890D9 #E8BEE9

Accessibility & contrast

On white

3.47
#C862CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#C862CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862CA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862CA#FFFFFF#000000##000000
##C862CA1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#CD6E8D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c862ca;
/* rgb */ color: rgb(200, 98, 202);
/* oklch */ color: oklch(65.5% 0.182 326.7);
Tailwind
colors: {
  custom: {
    50: '#db93da',
    500: '#c862ca',
    950: '#000000',
  },
}
SCSS
$custom: #c862ca;
$custom-light: #db93da;
$custom-dark: #000000;
JSON
{
  "hex": "#c862ca",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 298.846,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65516,
    "c": 0.18178,
    "h": 326.7
  },
  "luminance": 0.25279
}

Semantic roles & 50–950 ramp

primary
#C862CA
secondary
#B0D8AF
accent
#D94F51
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C862CA

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

Preview Lab → · Contrast checker → · Palette generator →

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