#C862DA#C862DA

#C862DA is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.3% C 0.197 H 321.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#C862DA
RGBrgb(200, 98, 218)
HSLhsl(291, 62%, 62%)
HSVhsv(291, 55%, 85%)
CMYKcmyk(8.3%, 55%, 0%, 14.5%)
CIE-LABlab(58.11, 57.85, -44.17)
CIE-LCHlch(58.11, 72.79, 322.64°)
OKLaboklab(66.33% 0.1537 -0.1226)
OKLCHoklch(66.33% 0.197 321.4)
XYZxyz(40.8406, 26.0786, 69.1985)
Luminance0.2608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862DA #74DA62
analogous
#8C62DA #C862DA #DA62B0
triadic
#C862DA #DAC862 #62DAC8
tetradic
#C862DA #DA8C62 #74DA62 #62B0DA
square
#C862DA #DA8C62 #74DA62 #62B0DA
split-complementary
#C862DA #B0DA62 #62DA8C
monochromatic
#8B259D #B731CE #C862DA #D994E6 #EBC5F1

Accessibility & contrast

On white

3.38
#C862DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#C862DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862DA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862DA#FFFFFF#000000##000000
##C862DA1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DE
Deuteranopia (green-blind)
#6F90D7
Tritanopia (blue-blind)
#CA7395
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c862da;
/* rgb */ color: rgb(200, 98, 218);
/* oklch */ color: oklch(66.3% 0.197 321.4);
Tailwind
colors: {
  custom: {
    50: '#db93e6',
    500: '#c862da',
    950: '#000000',
  },
}
SCSS
$custom: #c862da;
$custom-light: #db93e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c862da",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 291,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66326,
    "c": 0.19658,
    "h": 321.4
  },
  "luminance": 0.26077
}

Semantic roles & 50–950 ramp

primary
#C862DA
secondary
#BCE2B6
accent
#CA1C36
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C862DA

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

Preview Lab → · Contrast checker → · Palette generator →

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