#C862F0#C862F0

#C862F0 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.5% C 0.218 H 315.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#C862F0
RGBrgb(200, 98, 240)
HSLhsl(283, 83%, 66%)
HSVhsv(283, 59%, 94%)
CMYKcmyk(16.7%, 59.2%, 0%, 5.9%)
CIE-LABlab(59.26, 62.15, -54.67)
CIE-LCHlch(59.26, 82.77, 318.66°)
OKLaboklab(67.53% 0.1548 -0.1531)
OKLCHoklch(67.53% 0.218 315.3)
XYZxyz(43.9128, 27.3074, 85.3789)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862F0 #8AF062
analogous
#8162F0 #C862F0 #F062D1
triadic
#C862F0 #F0C862 #62F0C8
tetradic
#C862F0 #F08162 #8AF062 #62D1F0
square
#C862F0 #F08162 #8AF062 #62D1F0
split-complementary
#C862F0 #D1F062 #62F081
monochromatic
#9313C5 #B42AEB #C862F0 #DC9AF5 #EFD2FB

Accessibility & contrast

On white

3.25
#C862F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#C862F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862F0
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862F0#FFFFFF#000000##000000
##C862F01.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3789F4
Deuteranopia (green-blind)
#6191EC
Tritanopia (blue-blind)
#C57BA0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c862f0;
/* rgb */ color: rgb(200, 98, 240);
/* oklch */ color: oklch(67.5% 0.218 315.3);
Tailwind
colors: {
  custom: {
    50: '#dc94f5',
    500: '#c862f0',
    950: '#000000',
  },
}
SCSS
$custom: #c862f0;
$custom-light: #dc94f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c862f0",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 283.099,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67534,
    "c": 0.21777,
    "h": 315.3
  },
  "luminance": 0.27306
}

Semantic roles & 50–950 ramp

primary
#C862F0
secondary
#CDEEC0
accent
#DF0744
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #C862F0

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

Preview Lab → · Contrast checker → · Palette generator →

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