#C862FF#C862FF

#C862FF is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 68.4% C 0.233 H 311.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#C862FF
RGBrgb(200, 98, 255)
HSLhsl(279, 100%, 69%)
HSVhsv(279, 62%, 100%)
CMYKcmyk(21.6%, 61.6%, 0%, 0%)
CIE-LABlab(60.10, 65.20, -61.63)
CIE-LCHlch(60.10, 89.72, 316.61°)
OKLaboklab(68.42% 0.1548 -0.1735)
OKLCHoklch(68.42% 0.233 311.7)
XYZxyz(46.2338, 28.2359, 97.6029)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862FF #99FF62
analogous
#7A62FF #C862FF #FF62E7
triadic
#C862FF #FFC862 #62FFC8
tetradic
#C862FF #FF7A62 #99FF62 #62E7FF
square
#C862FF #FF7A62 #99FF62 #62E7FF
split-complementary
#C862FF #E7FF62 #62FF7A
monochromatic
#9600E7 #B325FF #C862FF #DD9FFF #F3DCFF

Accessibility & contrast

On white

3.16
#C862FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#C862FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862FF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862FF#FFFFFF#000000##000000
##C862FF1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8CFF
Deuteranopia (green-blind)
#5493FB
Tritanopia (blue-blind)
#C280A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c862ff;
/* rgb */ color: rgb(200, 98, 255);
/* oklch */ color: oklch(68.4% 0.233 311.7);
Tailwind
colors: {
  custom: {
    50: '#dc94ff',
    500: '#c862ff',
    950: '#000000',
  },
}
SCSS
$custom: #c862ff;
$custom-light: #dc94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c862ff",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 278.981,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68418,
    "c": 0.2325,
    "h": 311.7
  },
  "luminance": 0.28235
}

Semantic roles & 50–950 ramp

primary
#C862FF
secondary
#D8F5C8
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C862FF

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

Preview Lab → · Contrast checker → · Palette generator →

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