#C862F6#C862F6

#C862F6 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 67.9% C 0.224 H 313.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#C862F6
RGBrgb(200, 98, 246)
HSLhsl(281, 89%, 67%)
HSVhsv(281, 60%, 96%)
CMYKcmyk(18.7%, 60.2%, 0%, 3.5%)
CIE-LABlab(59.59, 63.36, -57.48)
CIE-LCHlch(59.59, 85.54, 317.79°)
OKLaboklab(67.88% 0.1549 -0.1613)
OKLCHoklch(67.88% 0.224 313.8)
XYZxyz(44.8189, 27.6699, 90.1508)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862F6 #90F662
analogous
#7E62F6 #C862F6 #F662DA
triadic
#C862F6 #F6C862 #62F6C8
tetradic
#C862F6 #F67E62 #90F662 #62DAF6
square
#C862F6 #F67E62 #90F662 #62DAF6
split-complementary
#C862F6 #DAF662 #62F67E
monochromatic
#940CD2 #B428F3 #C862F6 #DC9CF9 #F1D6FD

Accessibility & contrast

On white

3.21
#C862F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#C862F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862F6
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862F6#FFFFFF#000000##000000
##C862F61.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8AFB
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#C47DA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c862f6;
/* rgb */ color: rgb(200, 98, 246);
/* oklch */ color: oklch(67.9% 0.224 313.8);
Tailwind
colors: {
  custom: {
    50: '#dc94fa',
    500: '#c862f6',
    950: '#000000',
  },
}
SCSS
$custom: #c862f6;
$custom-light: #dc94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c862f6",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 281.351,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67882,
    "c": 0.22365,
    "h": 313.8
  },
  "luminance": 0.27669
}

Semantic roles & 50–950 ramp

primary
#C862F6
secondary
#D1F1C3
accent
#E60047
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C862F6

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

Preview Lab → · Contrast checker → · Palette generator →

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