#C951D4#C951D4

#C951D4 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.1% C 0.216 H 324.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#C951D4
RGBrgb(201, 81, 212)
HSLhsl(295, 60%, 57%)
HSVhsv(295, 62%, 83%)
CMYKcmyk(5.2%, 61.8%, 0%, 16.9%)
CIE-LABlab(55.13, 64.66, -45.48)
CIE-LCHlch(55.13, 79.06, 324.88°)
OKLaboklab(64.08% 0.1754 -0.1262)
OKLCHoklch(64.08% 0.216 324.3)
XYZxyz(38.9125, 23.0581, 64.6756)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C951D4 #5CD451
analogous
#8851D4 #C951D4 #D4519D
triadic
#C951D4 #D4C951 #51D4C9
tetradic
#C951D4 #D48851 #5CD451 #519DD4
square
#C951D4 #D48851 #5CD451 #519DD4
split-complementary
#C951D4 #9DD451 #51D488
monochromatic
#802289 #AE2EBA #C951D4 #D882E0 #E7B3EC

Accessibility & contrast

On white

3.74
#C951D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#C951D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C951D4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C951D4#FFFFFF#000000##000000
##C951D41.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#397BD8
Deuteranopia (green-blind)
#6789D1
Tritanopia (blue-blind)
#CD648B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c951d4;
/* rgb */ color: rgb(201, 81, 212);
/* oklch */ color: oklch(64.1% 0.216 324.3);
Tailwind
colors: {
  custom: {
    50: '#dd89e2',
    500: '#c951d4',
    950: '#000000',
  },
}
SCSS
$custom: #c951d4;
$custom-light: #dd89e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c951d4",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 294.962,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64083,
    "c": 0.21609,
    "h": 324.3
  },
  "luminance": 0.23056
}

Semantic roles & 50–950 ramp

primary
#C951D4
secondary
#AADBA6
accent
#E44452
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C951D4

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

Preview Lab → · Contrast checker → · Palette generator →

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