#C864F7#C864F7

#C864F7 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.2% C 0.222 H 313.4°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#C864F7
RGBrgb(200, 100, 247)
HSLhsl(281, 90%, 68%)
HSVhsv(281, 60%, 97%)
CMYKcmyk(19%, 59.5%, 0%, 3.1%)
CIE-LABlab(59.99, 62.63, -57.39)
CIE-LCHlch(59.99, 84.95, 317.50°)
OKLaboklab(68.19% 0.1525 -0.1611)
OKLCHoklch(68.19% 0.222 313.4)
XYZxyz(45.1622, 28.1104, 91.0245)
Luminance0.2811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C864F7 #93F764
analogous
#7E64F7 #C864F7 #F764DD
triadic
#C864F7 #F7C864 #64F7C8
tetradic
#C864F7 #F77E64 #93F764 #64DDF7
square
#C864F7 #F77E64 #93F764 #64DDF7
split-complementary
#C864F7 #DDF764 #64F77E
monochromatic
#950BD6 #B32AF4 #C864F7 #DD9EFA #F1D8FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C864F7#FFFFFF#000000##000000
##C864F71.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)
#328BFC
Deuteranopia (green-blind)
#5D93F3
Tritanopia (blue-blind)
#C47FA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c864f7;
/* rgb */ color: rgb(200, 100, 247);
/* oklch */ color: oklch(68.2% 0.222 313.4);
Tailwind
colors: {
  custom: {
    50: '#dc95fa',
    500: '#c864f7',
    950: '#000000',
  },
}
SCSS
$custom: #c864f7;
$custom-light: #dc95fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c864f7",
  "rgb": {
    "r": 200,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 280.816,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6819,
    "c": 0.22184,
    "h": 313.4
  },
  "luminance": 0.28109
}

Semantic roles & 50–950 ramp

primary
#C864F7
secondary
#D3F2C5
accent
#E60049
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C864F7

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

Preview Lab → · Contrast checker → · Palette generator →

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