#C951B9#C951B9

#C951B9 is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.7% C 0.194 H 333.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#C951B9
RGBrgb(201, 81, 185)
HSLhsl(308, 53%, 55%)
HSVhsv(308, 60%, 79%)
CMYKcmyk(0%, 59.7%, 8%, 21.2%)
CIE-LABlab(53.82, 60.09, -32.06)
CIE-LCHlch(53.82, 68.11, 331.92°)
OKLaboklab(62.7% 0.1729 -0.0875)
OKLCHoklch(62.7% 0.194 333.2)
XYZxyz(35.7868, 21.8078, 48.2140)
Luminance0.2180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951B9 #51C961
analogous
#9D51C9 #C951B9 #C9517D
triadic
#C951B9 #B9C951 #51B9C9
tetradic
#C951B9 #C99D51 #51C961 #517DC9
square
#C951B9 #C99D51 #51C961 #517DC9
split-complementary
#C951B9 #7DC951 #51C99D
monochromatic
#7A266F #A93499 #C951B9 #D780CC #E6AEDF

Accessibility & contrast

On white

3.92
#C951B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#C951B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951B9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951B9#FFFFFF#000000##000000
##C951B91.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c951b9;
/* rgb */ color: rgb(201, 81, 185);
/* oklch */ color: oklch(62.7% 0.194 333.2);
Tailwind
colors: {
  custom: {
    50: '#dc89ce',
    500: '#c951b9',
    950: '#000000',
  },
}
SCSS
$custom: #c951b9;
$custom-light: #dc89ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c951b9",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 185
  },
  "hsl": {
    "h": 308,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62703,
    "c": 0.19382,
    "h": 333.2
  },
  "luminance": 0.21805
}

Semantic roles & 50–950 ramp

primary
#C951B9
secondary
#A2D4A9
accent
#DC5F4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C951B9

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

Preview Lab → · Contrast checker → · Palette generator →

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