#C862BA#C862BA

#C862BA is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.8% C 0.168 H 332.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#C862BA
RGBrgb(200, 98, 186)
HSLhsl(308, 48%, 58%)
HSVhsv(308, 51%, 78%)
CMYKcmyk(0%, 51%, 7%, 21.6%)
CIE-LABlab(56.65, 52.12, -28.26)
CIE-LCHlch(56.65, 59.28, 331.53°)
OKLaboklab(64.77% 0.1493 -0.0768)
OKLCHoklch(64.77% 0.168 332.8)
XYZxyz(37.0499, 24.5623, 49.2344)
Luminance0.2456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862BA #62C870
analogous
#A362C8 #C862BA #C86287
triadic
#C862BA #BAC862 #62BAC8
tetradic
#C862BA #C8A362 #62C870 #6287C8
square
#C862BA #C8A362 #62C870 #6287C8
split-complementary
#C862BA #87C862 #62C8A3
monochromatic
#822E76 #AF3DA0 #C862BA #D88FCE #E8BDE2

Accessibility & contrast

On white

3.55
#C862BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#C862BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862BA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862BA#FFFFFF#000000##000000
##C862BA1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBD
Deuteranopia (green-blind)
#7D8DB7
Tritanopia (blue-blind)
#D06985
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c862ba;
/* rgb */ color: rgb(200, 98, 186);
/* oklch */ color: oklch(64.8% 0.168 332.8);
Tailwind
colors: {
  custom: {
    50: '#db93cf',
    500: '#c862ba',
    950: '#000000',
  },
}
SCSS
$custom: #c862ba;
$custom-light: #db93cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c862ba",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 308.235,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64768,
    "c": 0.16787,
    "h": 332.8
  },
  "luminance": 0.2456
}

Semantic roles & 50–950 ramp

primary
#C862BA
secondary
#AFD7B4
accent
#D86350
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #C862BA

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

Preview Lab → · Contrast checker → · Palette generator →

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