#C862F2#C862F2

#C862F2 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.6% C 0.220 H 314.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#C862F2
RGBrgb(200, 98, 242)
HSLhsl(283, 85%, 67%)
HSVhsv(283, 60%, 95%)
CMYKcmyk(17.4%, 59.5%, 0%, 5.1%)
CIE-LABlab(59.37, 62.55, -55.61)
CIE-LCHlch(59.37, 83.69, 318.36°)
OKLaboklab(67.65% 0.1549 -0.1558)
OKLCHoklch(67.65% 0.22 314.8)
XYZxyz(44.2115, 27.4269, 86.9522)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862F2 #8CF262
analogous
#8062F2 #C862F2 #F262D4
triadic
#C862F2 #F2C862 #62F2C8
tetradic
#C862F2 #F28062 #8CF262 #62D4F2
square
#C862F2 #F28062 #8CF262 #62D4F2
split-complementary
#C862F2 #D4F262 #62F280
monochromatic
#9311C9 #B429ED #C862F2 #DC9BF7 #F0D3FB

Accessibility & contrast

On white

3.24
#C862F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#C862F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862F2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862F2#FFFFFF#000000##000000
##C862F21.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3489F7
Deuteranopia (green-blind)
#5F92EE
Tritanopia (blue-blind)
#C57BA1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c862f2;
/* rgb */ color: rgb(200, 98, 242);
/* oklch */ color: oklch(67.6% 0.220 314.8);
Tailwind
colors: {
  custom: {
    50: '#dc94f7',
    500: '#c862f2',
    950: '#000000',
  },
}
SCSS
$custom: #c862f2;
$custom-light: #dc94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c862f2",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 282.5,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67649,
    "c": 0.21972,
    "h": 314.8
  },
  "luminance": 0.27426
}

Semantic roles & 50–950 ramp

primary
#C862F2
secondary
#CEEFC1
accent
#E10445
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C862F2

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

Preview Lab → · Contrast checker → · Palette generator →

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