#C951D6#C951D6

#C951D6 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.2% C 0.218 H 323.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#C951D6
RGBrgb(201, 81, 214)
HSLhsl(294, 62%, 58%)
HSVhsv(294, 62%, 84%)
CMYKcmyk(6.1%, 62.1%, 0%, 16.1%)
CIE-LABlab(55.24, 65.02, -46.45)
CIE-LCHlch(55.24, 79.91, 324.46°)
OKLaboklab(64.19% 0.1755 -0.129)
OKLCHoklch(64.19% 0.218 323.7)
XYZxyz(39.1663, 23.1596, 66.0125)
Luminance0.2316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951D6 #5ED651
analogous
#8651D6 #C951D6 #D651A1
triadic
#C951D6 #D6C951 #51D6C9
tetradic
#C951D6 #D68651 #5ED651 #51A1D6
square
#C951D6 #D68651 #5ED651 #51A1D6
split-complementary
#C951D6 #A1D651 #51D686
monochromatic
#81218C #AF2DBD #C951D6 #D883E2 #E8B4ED

Accessibility & contrast

On white

3.73
#C951D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#C951D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951D6
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951D6#FFFFFF#000000##000000
##C951D61.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#377BDA
Deuteranopia (green-blind)
#6689D3
Tritanopia (blue-blind)
#CC658C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c951d6;
/* rgb */ color: rgb(201, 81, 214);
/* oklch */ color: oklch(64.2% 0.218 323.7);
Tailwind
colors: {
  custom: {
    50: '#dd89e3',
    500: '#c951d6',
    950: '#000000',
  },
}
SCSS
$custom: #c951d6;
$custom-light: #dd89e3;
$custom-dark: #000000;
JSON
{
  "hex": "#c951d6",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 294.135,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64192,
    "c": 0.21781,
    "h": 323.7
  },
  "luminance": 0.23157
}

Semantic roles & 50–950 ramp

primary
#C951D6
secondary
#ACDCA7
accent
#E54353
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C951D6

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

Preview Lab → · Contrast checker → · Palette generator →

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