#C862BD#C862BD

#C862BD is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.9% C 0.170 H 331.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#C862BD
RGBrgb(200, 98, 189)
HSLhsl(306, 48%, 58%)
HSVhsv(306, 51%, 78%)
CMYKcmyk(0%, 51%, 5.5%, 21.6%)
CIE-LABlab(56.77, 52.62, -29.78)
CIE-LCHlch(56.77, 60.47, 330.49°)
OKLaboklab(64.9% 0.1498 -0.0812)
OKLCHoklch(64.9% 0.17 331.5)
XYZxyz(37.3722, 24.6912, 50.9317)
Luminance0.2469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862BD #62C86D
analogous
#A062C8 #C862BD #C8628A
triadic
#C862BD #BDC862 #62BDC8
tetradic
#C862BD #C8A062 #62C86D #628AC8
square
#C862BD #C8A062 #62C86D #628AC8
split-complementary
#C862BD #8AC862 #62C8A0
monochromatic
#822E79 #AF3DA3 #C862BD #D88FD0 #E8BDE3

Accessibility & contrast

On white

3.54
#C862BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#C862BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862BD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862BD#FFFFFF#000000##000000
##C862BD1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FC0
Deuteranopia (green-blind)
#7C8DBA
Tritanopia (blue-blind)
#CF6A87
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c862bd;
/* rgb */ color: rgb(200, 98, 189);
/* oklch */ color: oklch(64.9% 0.170 331.5);
Tailwind
colors: {
  custom: {
    50: '#db93d1',
    500: '#c862bd',
    950: '#000000',
  },
}
SCSS
$custom: #c862bd;
$custom-light: #db93d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c862bd",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 306.471,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64903,
    "c": 0.17039,
    "h": 331.5
  },
  "luminance": 0.24689
}

Semantic roles & 50–950 ramp

primary
#C862BD
secondary
#AFD7B3
accent
#D85F50
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #C862BD

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

Preview Lab → · Contrast checker → · Palette generator →

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