#C862BB#C862BB

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

Color values

HEX#C862BB
RGBrgb(200, 98, 187)
HSLhsl(308, 48%, 58%)
HSVhsv(308, 51%, 78%)
CMYKcmyk(0%, 51%, 6.5%, 21.6%)
CIE-LABlab(56.69, 52.28, -28.77)
CIE-LCHlch(56.69, 59.67, 331.18°)
OKLaboklab(64.81% 0.1494 -0.0783)
OKLCHoklch(64.81% 0.169 332.4)
XYZxyz(37.1566, 24.6050, 49.7962)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862BB #62C86F
analogous
#A262C8 #C862BB #C86288
triadic
#C862BB #BBC862 #62BBC8
tetradic
#C862BB #C8A262 #62C86F #6288C8
square
#C862BB #C8A262 #62C86F #6288C8
split-complementary
#C862BB #88C862 #62C8A2
monochromatic
#822E77 #AF3DA1 #C862BB #D88FCF #E8BDE2

Accessibility & contrast

On white

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

On black

5.92
#C862BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862BB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862BB#FFFFFF#000000##000000
##C862BB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#7D8DB8
Tritanopia (blue-blind)
#CF6986
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c862bb;
/* rgb */ color: rgb(200, 98, 187);
/* oklch */ color: oklch(64.8% 0.169 332.4);
Tailwind
colors: {
  custom: {
    50: '#db93cf',
    500: '#c862bb',
    950: '#000000',
  },
}
SCSS
$custom: #c862bb;
$custom-light: #db93cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c862bb",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 307.647,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64812,
    "c": 0.16871,
    "h": 332.4
  },
  "luminance": 0.24603
}

Semantic roles & 50–950 ramp

primary
#C862BB
secondary
#AFD7B4
accent
#D86150
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #C862BB

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

Preview Lab → · Contrast checker → · Palette generator →

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