#C862D7#C862D7

#C862D7 is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.2% C 0.194 H 322.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#C862D7
RGBrgb(200, 98, 215)
HSLhsl(292, 59%, 61%)
HSVhsv(292, 54%, 84%)
CMYKcmyk(7%, 54.4%, 0%, 15.7%)
CIE-LABlab(57.96, 57.29, -42.71)
CIE-LCHlch(57.96, 71.46, 323.29°)
OKLaboklab(66.17% 0.1534 -0.1183)
OKLCHoklch(66.17% 0.194 322.4)
XYZxyz(40.4516, 25.9229, 67.1497)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862D7 #71D762
analogous
#8E62D7 #C862D7 #D762AC
triadic
#C862D7 #D7C862 #62D7C8
tetradic
#C862D7 #D78E62 #71D762 #62ACD7
square
#C862D7 #D78E62 #71D762 #62ACD7
split-complementary
#C862D7 #ACD762 #62D78E
monochromatic
#892798 #B633C9 #C862D7 #D993E3 #EAC4F0

Accessibility & contrast

On white

3.40
#C862D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#C862D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862D7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862D7#FFFFFF#000000##000000
##C862D71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F84DB
Deuteranopia (green-blind)
#708FD4
Tritanopia (blue-blind)
#CB7293
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c862d7;
/* rgb */ color: rgb(200, 98, 215);
/* oklch */ color: oklch(66.2% 0.194 322.4);
Tailwind
colors: {
  custom: {
    50: '#db93e4',
    500: '#c862d7',
    950: '#000000',
  },
}
SCSS
$custom: #c862d7;
$custom-light: #db93e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c862d7",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 215
  },
  "hsl": {
    "h": 292.308,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66169,
    "c": 0.19376,
    "h": 322.4
  },
  "luminance": 0.25921
}

Semantic roles & 50–950 ramp

primary
#C862D7
secondary
#BAE0B5
accent
#C71E34
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #C862D7

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

Preview Lab → · Contrast checker → · Palette generator →

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