#C851F6#C851F6

#C851F6 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.9% C 0.246 H 315.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#C851F6
RGBrgb(200, 81, 246)
HSLhsl(283, 90%, 64%)
HSVhsv(283, 67%, 96%)
CMYKcmyk(18.7%, 67.1%, 0%, 3.5%)
CIE-LABlab(56.90, 70.78, -61.78)
CIE-LCHlch(56.90, 93.95, 318.88°)
OKLaboklab(65.94% 0.1738 -0.1738)
OKLCHoklch(65.94% 0.246 315)
XYZxyz(43.3937, 24.8196, 89.6757)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851F6 #7FF651
analogous
#7651F6 #C851F6 #F651D1
triadic
#C851F6 #F6C851 #51F6C8
tetradic
#C851F6 #F67651 #7FF651 #51D1F6
square
#C851F6 #F67651 #7FF651 #51D1F6
split-complementary
#C851F6 #D1F651 #51F676
monochromatic
#8F0AC3 #B617F3 #C851F6 #DA8BF9 #EDC5FC

Accessibility & contrast

On white

3.52
#C851F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#C851F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851F6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851F6#FFFFFF#000000##000000
##C851F61.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#4C8CF2
Tritanopia (blue-blind)
#C4729E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c851f6;
/* rgb */ color: rgb(200, 81, 246);
/* oklch */ color: oklch(65.9% 0.246 315.0);
Tailwind
colors: {
  custom: {
    50: '#dd8afa',
    500: '#c851f6',
    950: '#000000',
  },
}
SCSS
$custom: #c851f6;
$custom-light: #dd8afa;
$custom-dark: #000000;
JSON
{
  "hex": "#c851f6",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 246
  },
  "hsl": {
    "h": 283.273,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65941,
    "c": 0.24581,
    "h": 315
  },
  "luminance": 0.24818
}

Semantic roles & 50–950 ramp

primary
#C851F6
secondary
#C5EEB5
accent
#E60040
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #C851F6

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

Preview Lab → · Contrast checker → · Palette generator →

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