#C862BE#C862BE

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

Color values

HEX#C862BE
RGBrgb(200, 98, 190)
HSLhsl(306, 48%, 58%)
HSVhsv(306, 51%, 78%)
CMYKcmyk(0%, 51%, 5%, 21.6%)
CIE-LABlab(56.82, 52.80, -30.29)
CIE-LCHlch(56.82, 60.87, 330.16°)
OKLaboklab(64.95% 0.15 -0.0826)
OKLCHoklch(64.95% 0.171 331.2)
XYZxyz(37.4811, 24.7348, 51.5053)
Luminance0.2473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862BE #62C86C
analogous
#9F62C8 #C862BE #C8628B
triadic
#C862BE #BEC862 #62BEC8
tetradic
#C862BE #C89F62 #62C86C #628BC8
square
#C862BE #C89F62 #62C86C #628BC8
split-complementary
#C862BE #8BC862 #62C89F
monochromatic
#822E7A #AF3DA4 #C862BE #D88FD1 #E8BDE4

Accessibility & contrast

On white

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

On black

5.95
#C862BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862BE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862BE#FFFFFF#000000##000000
##C862BE1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c862be;
/* rgb */ color: rgb(200, 98, 190);
/* oklch */ color: oklch(64.9% 0.171 331.2);
Tailwind
colors: {
  custom: {
    50: '#db93d2',
    500: '#c862be',
    950: '#000000',
  },
}
SCSS
$custom: #c862be;
$custom-light: #db93d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c862be",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 305.882,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64949,
    "c": 0.17124,
    "h": 331.2
  },
  "luminance": 0.24732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C862BE

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

Preview Lab → · Contrast checker → · Palette generator →

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