#C862F5#C862F5

#C862F5 is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 67.8% C 0.223 H 314.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#C862F5
RGBrgb(200, 98, 245)
HSLhsl(282, 88%, 67%)
HSVhsv(282, 60%, 96%)
CMYKcmyk(18.4%, 60%, 0%, 3.9%)
CIE-LABlab(59.53, 63.16, -57.01)
CIE-LCHlch(59.53, 85.08, 317.93°)
OKLaboklab(67.82% 0.1549 -0.1599)
OKLCHoklch(67.82% 0.223 314.1)
XYZxyz(44.6658, 27.6086, 89.3446)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862F5 #8FF562
analogous
#7F62F5 #C862F5 #F562D8
triadic
#C862F5 #F5C862 #62F5C8
tetradic
#C862F5 #F57F62 #8FF562 #62D8F5
square
#C862F5 #F57F62 #8FF562 #62D8F5
split-complementary
#C862F5 #D8F562 #62F57F
monochromatic
#940DCF #B428F1 #C862F5 #DC9CF9 #F0D5FC

Accessibility & contrast

On white

3.22
#C862F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#C862F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862F5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862F5#FFFFFF#000000##000000
##C862F51.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#308AFA
Deuteranopia (green-blind)
#5D92F1
Tritanopia (blue-blind)
#C47CA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c862f5;
/* rgb */ color: rgb(200, 98, 245);
/* oklch */ color: oklch(67.8% 0.223 314.1);
Tailwind
colors: {
  custom: {
    50: '#dc94f9',
    500: '#c862f5',
    950: '#000000',
  },
}
SCSS
$custom: #c862f5;
$custom-light: #dc94f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c862f5",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 281.633,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67824,
    "c": 0.22267,
    "h": 314.1
  },
  "luminance": 0.27607
}

Semantic roles & 50–950 ramp

primary
#C862F5
secondary
#D0F1C2
accent
#E50147
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C862F5

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

Preview Lab → · Contrast checker → · Palette generator →

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