#C951B7#C951B7

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

Color values

HEX#C951B7
RGBrgb(201, 81, 183)
HSLhsl(309, 53%, 55%)
HSVhsv(309, 60%, 79%)
CMYKcmyk(0%, 59.7%, 9%, 21.2%)
CIE-LABlab(53.73, 59.77, -31.04)
CIE-LCHlch(53.73, 67.35, 332.56°)
OKLaboklab(62.61% 0.1727 -0.0846)
OKLCHoklch(62.61% 0.192 333.9)
XYZxyz(35.5772, 21.7239, 47.1099)
Luminance0.2172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951B7 #51C963
analogous
#9F51C9 #C951B7 #C9517B
triadic
#C951B7 #B7C951 #51B7C9
tetradic
#C951B7 #C99F51 #51C963 #517BC9
square
#C951B7 #C99F51 #51C963 #517BC9
split-complementary
#C951B7 #7BC951 #51C99F
monochromatic
#7A266D #A93497 #C951B7 #D780CA #E6AEDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C951B7#FFFFFF#000000##000000
##C951B71.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)
#4F75BA
Deuteranopia (green-blind)
#7587B4
Tritanopia (blue-blind)
#D2597D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c951b7;
/* rgb */ color: rgb(201, 81, 183);
/* oklch */ color: oklch(62.6% 0.192 333.9);
Tailwind
colors: {
  custom: {
    50: '#dc89cd',
    500: '#c951b7',
    950: '#000000',
  },
}
SCSS
$custom: #c951b7;
$custom-light: #dc89cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c951b7",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 183
  },
  "hsl": {
    "h": 309,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62608,
    "c": 0.19227,
    "h": 333.9
  },
  "luminance": 0.21721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C951B7

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

Preview Lab → · Contrast checker → · Palette generator →

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