#C862BF#C862BF

#C862BF is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.0% C 0.172 H 330.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#C862BF
RGBrgb(200, 98, 191)
HSLhsl(305, 48%, 58%)
HSVhsv(305, 51%, 78%)
CMYKcmyk(0%, 51%, 4.5%, 21.6%)
CIE-LABlab(56.86, 52.97, -30.79)
CIE-LCHlch(56.86, 61.27, 329.83°)
OKLaboklab(65% 0.1502 -0.0841)
OKLCHoklch(65% 0.172 330.8)
XYZxyz(37.5908, 24.7786, 52.0829)
Luminance0.2478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862BF #62C86B
analogous
#9E62C8 #C862BF #C8628C
triadic
#C862BF #BFC862 #62BFC8
tetradic
#C862BF #C89E62 #62C86B #628CC8
square
#C862BF #C89E62 #62C86B #628CC8
split-complementary
#C862BF #8CC862 #62C89E
monochromatic
#822E7B #AF3DA5 #C862BF #D88FD1 #E8BDE4

Accessibility & contrast

On white

3.53
#C862BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#C862BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862BF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862BF#FFFFFF#000000##000000
##C862BF1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#7B8EBC
Tritanopia (blue-blind)
#CF6A88
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c862bf;
/* rgb */ color: rgb(200, 98, 191);
/* oklch */ color: oklch(65.0% 0.172 330.8);
Tailwind
colors: {
  custom: {
    50: '#db93d2',
    500: '#c862bf',
    950: '#000000',
  },
}
SCSS
$custom: #c862bf;
$custom-light: #db93d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c862bf",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 305.294,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64995,
    "c": 0.1721,
    "h": 330.8
  },
  "luminance": 0.24776
}

Semantic roles & 50–950 ramp

primary
#C862BF
secondary
#AFD7B2
accent
#D85C50
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #C862BF

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

Preview Lab → · Contrast checker → · Palette generator →

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