#C851BA#C851BA

#C851BA is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.6% C 0.194 H 332.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C851BA
RGBrgb(200, 81, 186)
HSLhsl(307, 52%, 55%)
HSVhsv(307, 60%, 78%)
CMYKcmyk(0%, 59.5%, 7%, 21.6%)
CIE-LABlab(53.72, 59.98, -32.81)
CIE-LCHlch(53.72, 68.37, 331.33°)
OKLaboklab(62.61% 0.172 -0.0897)
OKLCHoklch(62.61% 0.194 332.5)
XYZxyz(35.6248, 21.7120, 48.7593)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851BA #51C85F
analogous
#9B51C8 #C851BA #C8517E
triadic
#C851BA #BAC851 #51BAC8
tetradic
#C851BA #C89B51 #51C85F #517EC8
square
#C851BA #C89B51 #51C85F #517EC8
split-complementary
#C851BA #7EC851 #51C89B
monochromatic
#79266F #A7359A #C851BA #D780CC #E5AEDF

Accessibility & contrast

On white

3.93
#C851BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#C851BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851BA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851BA#FFFFFF#000000##000000
##C851BA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BD
Deuteranopia (green-blind)
#7387B7
Tritanopia (blue-blind)
#D05B7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c851ba;
/* rgb */ color: rgb(200, 81, 186);
/* oklch */ color: oklch(62.6% 0.194 332.5);
Tailwind
colors: {
  custom: {
    50: '#dc89cf',
    500: '#c851ba',
    950: '#000000',
  },
}
SCSS
$custom: #c851ba;
$custom-light: #dc89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c851ba",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 307.059,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62613,
    "c": 0.19398,
    "h": 332.5
  },
  "luminance": 0.21709
}

Semantic roles & 50–950 ramp

primary
#C851BA
secondary
#A1D3A7
accent
#DB5D4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C851BA

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

Preview Lab → · Contrast checker → · Palette generator →

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