#C951BA#C951BA

#C951BA is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.8% C 0.195 H 332.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C951BA
RGBrgb(201, 81, 186)
HSLhsl(308, 53%, 55%)
HSVhsv(308, 60%, 79%)
CMYKcmyk(0%, 59.7%, 7.5%, 21.2%)
CIE-LABlab(53.87, 60.25, -32.56)
CIE-LCHlch(53.87, 68.49, 331.61°)
OKLaboklab(62.75% 0.1731 -0.089)
OKLCHoklch(62.75% 0.195 332.8)
XYZxyz(35.8928, 21.8502, 48.7719)
Luminance0.2185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951BA #51C960
analogous
#9C51C9 #C951BA #C9517E
triadic
#C951BA #BAC951 #51BAC9
tetradic
#C951BA #C99C51 #51C960 #517EC9
square
#C951BA #C99C51 #51C960 #517EC9
split-complementary
#C951BA #7EC951 #51C99C
monochromatic
#7A266F #A9349A #C951BA #D780CD #E6AEDF

Accessibility & contrast

On white

3.91
#C951BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#C951BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951BA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951BA#FFFFFF#000000##000000
##C951BA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BD
Deuteranopia (green-blind)
#7487B7
Tritanopia (blue-blind)
#D15A7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c951ba;
/* rgb */ color: rgb(201, 81, 186);
/* oklch */ color: oklch(62.8% 0.195 332.8);
Tailwind
colors: {
  custom: {
    50: '#dc89cf',
    500: '#c951ba',
    950: '#000000',
  },
}
SCSS
$custom: #c951ba;
$custom-light: #dc89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c951ba",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 307.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62751,
    "c": 0.1946,
    "h": 332.8
  },
  "luminance": 0.21848
}

Semantic roles & 50–950 ramp

primary
#C951BA
secondary
#A2D4A8
accent
#DC5E4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C951BA

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

Preview Lab → · Contrast checker → · Palette generator →

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