#C862F7#C862F7

#C862F7 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 67.9% C 0.225 H 313.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#C862F7
RGBrgb(200, 98, 247)
HSLhsl(281, 90%, 68%)
HSVhsv(281, 60%, 97%)
CMYKcmyk(19%, 60.3%, 0%, 3.1%)
CIE-LABlab(59.65, 63.56, -57.94)
CIE-LCHlch(59.65, 86.01, 317.65°)
OKLaboklab(67.94% 0.1549 -0.1627)
OKLCHoklch(67.94% 0.225 313.6)
XYZxyz(44.9728, 27.7314, 90.9613)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C862F7 #91F762
analogous
#7E62F7 #C862F7 #F762DB
triadic
#C862F7 #F7C862 #62F7C8
tetradic
#C862F7 #F77E62 #91F762 #62DBF7
square
#C862F7 #F77E62 #91F762 #62DBF7
split-complementary
#C862F7 #DBF762 #62F77E
monochromatic
#940BD4 #B428F4 #C862F7 #DC9CFA #F1D6FD

Accessibility & contrast

On white

3.21
#C862F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#C862F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C862F7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C862F7#FFFFFF#000000##000000
##C862F71.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8AFC
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#C47DA4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c862f7;
/* rgb */ color: rgb(200, 98, 247);
/* oklch */ color: oklch(67.9% 0.225 313.6);
Tailwind
colors: {
  custom: {
    50: '#dc94fa',
    500: '#c862f7',
    950: '#000000',
  },
}
SCSS
$custom: #c862f7;
$custom-light: #dc94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c862f7",
  "rgb": {
    "r": 200,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 281.074,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67941,
    "c": 0.22463,
    "h": 313.6
  },
  "luminance": 0.2773
}

Semantic roles & 50–950 ramp

primary
#C862F7
secondary
#D2F2C3
accent
#E60048
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C862F7

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

Preview Lab → · Contrast checker → · Palette generator →

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