#C851C2#C851C2

#C851C2 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.0% C 0.200 H 329.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#C851C2
RGBrgb(200, 81, 194)
HSLhsl(303, 52%, 55%)
HSVhsv(303, 60%, 78%)
CMYKcmyk(0%, 59.5%, 3%, 21.6%)
CIE-LABlab(54.09, 61.31, -36.84)
CIE-LCHlch(54.09, 71.52, 329.00°)
OKLaboklab(63.01% 0.173 -0.1012)
OKLCHoklch(63.01% 0.2 329.7)
XYZxyz(36.4991, 22.0617, 53.3644)
Luminance0.2206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851C2 #51C857
analogous
#9251C8 #C851C2 #C85187
triadic
#C851C2 #C2C851 #51C2C8
tetradic
#C851C2 #C89251 #51C857 #5187C8
square
#C851C2 #C89251 #51C857 #5187C8
split-complementary
#C851C2 #87C851 #51C892
monochromatic
#792674 #A735A1 #C851C2 #D780D2 #E5AEE3

Accessibility & contrast

On white

3.88
#C851C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#C851C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851C2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851C2#FFFFFF#000000##000000
##C851C21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#6F87BF
Tritanopia (blue-blind)
#CF5E82
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c851c2;
/* rgb */ color: rgb(200, 81, 194);
/* oklch */ color: oklch(63.0% 0.200 329.7);
Tailwind
colors: {
  custom: {
    50: '#dc89d5',
    500: '#c851c2',
    950: '#000000',
  },
}
SCSS
$custom: #c851c2;
$custom-light: #dc89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c851c2",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 303.025,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63007,
    "c": 0.20041,
    "h": 329.7
  },
  "luminance": 0.22059
}

Semantic roles & 50–950 ramp

primary
#C851C2
secondary
#A1D3A4
accent
#DB544C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C851C2

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

Preview Lab → · Contrast checker → · Palette generator →

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