#C851FE#C851FE

#C851FE is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.4% C 0.253 H 313.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#C851FE
RGBrgb(200, 81, 254)
HSLhsl(281, 99%, 66%)
HSVhsv(281, 68%, 100%)
CMYKcmyk(21.3%, 68.1%, 0%, 0.4%)
CIE-LABlab(57.39, 72.36, -65.44)
CIE-LCHlch(57.39, 97.56, 317.87°)
OKLaboklab(66.45% 0.1732 -0.1845)
OKLCHoklch(66.45% 0.253 313.2)
XYZxyz(44.6481, 25.3213, 96.2823)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851FE #87FE51
analogous
#7151FE #C851FE #FE51DD
triadic
#C851FE #FEC851 #51FEC8
tetradic
#C851FE #FE7151 #87FE51 #51DDFE
square
#C851FE #FE7151 #87FE51 #51DDFE
split-complementary
#C851FE #DDFE51 #51FE71
monochromatic
#9201D3 #B514FE #C851FE #DB8EFE #EECBFF

Accessibility & contrast

On white

3.46
#C851FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#C851FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851FE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851FE#FFFFFF#000000##000000
##C851FE1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#448CFA
Tritanopia (blue-blind)
#C275A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c851fe;
/* rgb */ color: rgb(200, 81, 254);
/* oklch */ color: oklch(66.4% 0.253 313.2);
Tailwind
colors: {
  custom: {
    50: '#dd8bff',
    500: '#c851fe',
    950: '#000000',
  },
}
SCSS
$custom: #c851fe;
$custom-light: #dd8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#c851fe",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 254
  },
  "hsl": {
    "h": 281.272,
    "s": 98.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66446,
    "c": 0.25307,
    "h": 313.2
  },
  "luminance": 0.2532
}

Semantic roles & 50–950 ramp

primary
#C851FE
secondary
#CBF2B9
accent
#E60048
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #C851FE

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

Preview Lab → · Contrast checker → · Palette generator →

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