#C851F2#C851F2

#C851F2 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.7% C 0.242 H 315.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#C851F2
RGBrgb(200, 81, 242)
HSLhsl(284, 86%, 63%)
HSVhsv(284, 67%, 95%)
CMYKcmyk(17.4%, 66.5%, 0%, 5.1%)
CIE-LABlab(56.66, 70.01, -59.94)
CIE-LCHlch(56.66, 92.16, 319.43°)
OKLaboklab(65.69% 0.1741 -0.1684)
OKLCHoklch(65.69% 0.242 315.9)
XYZxyz(42.7864, 24.5766, 86.4771)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851F2 #7BF251
analogous
#7751F2 #C851F2 #F251CB
triadic
#C851F2 #F2C851 #51F2C8
tetradic
#C851F2 #F27751 #7BF251 #51CBF2
square
#C851F2 #F27751 #7BF251 #51CBF2
split-complementary
#C851F2 #CBF251 #51F277
monochromatic
#8E0EBB #B618EE #C851F2 #DA8AF6 #ECC3FB

Accessibility & contrast

On white

3.55
#C851F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#C851F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851F2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851F2#FFFFFF#000000##000000
##C851F21.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#508BEE
Tritanopia (blue-blind)
#C5709B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c851f2;
/* rgb */ color: rgb(200, 81, 242);
/* oklch */ color: oklch(65.7% 0.242 315.9);
Tailwind
colors: {
  custom: {
    50: '#dd8af7',
    500: '#c851f2',
    950: '#000000',
  },
}
SCSS
$custom: #c851f2;
$custom-light: #dd8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#c851f2",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 284.348,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65694,
    "c": 0.2422,
    "h": 315.9
  },
  "luminance": 0.24575
}

Semantic roles & 50–950 ramp

primary
#C851F2
secondary
#C2ECB3
accent
#E3033D
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #C851F2

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

Preview Lab → · Contrast checker → · Palette generator →

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