#C862FD#C862FD

#C862FD is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 68.3% C 0.231 H 312.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#C862FD
RGBrgb(200, 98, 253)
HSLhsl(279, 97%, 69%)
HSVhsv(279, 61%, 99%)
CMYKcmyk(20.9%, 61.3%, 0%, 0.8%)
CIE-LABlab(59.99, 64.79, -60.71)
CIE-LCHlch(59.99, 88.79, 316.86°)
OKLaboklab(68.3% 0.1548 -0.1708)
OKLCHoklch(68.3% 0.231 312.2)
XYZxyz(45.9135, 28.1077, 95.9162)
Luminance0.2811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862FD #97FD62
analogous
#7B62FD #C862FD #FD62E4
triadic
#C862FD #FDC862 #62FDC8
tetradic
#C862FD #FD7B62 #97FD62 #62E4FD
square
#C862FD #FD7B62 #97FD62 #62E4FD
split-complementary
#C862FD #E4FD62 #62FD7B
monochromatic
#9603E2 #B326FC #C862FD #DD9EFE #F2DBFF

Accessibility & contrast

On white

3.17
#C862FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#C862FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862FD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862FD#FFFFFF#000000##000000
##C862FD1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#218BFF
Deuteranopia (green-blind)
#5693F9
Tritanopia (blue-blind)
#C27FA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c862fd;
/* rgb */ color: rgb(200, 98, 253);
/* oklch */ color: oklch(68.3% 0.231 312.2);
Tailwind
colors: {
  custom: {
    50: '#dc94ff',
    500: '#c862fd',
    950: '#000000',
  },
}
SCSS
$custom: #c862fd;
$custom-light: #dc94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c862fd",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 279.484,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68297,
    "c": 0.23053,
    "h": 312.2
  },
  "luminance": 0.28107
}

Semantic roles & 50–950 ramp

primary
#C862FD
secondary
#D6F4C6
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C862FD

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

Preview Lab → · Contrast checker → · Palette generator →

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