#C751BF#C751BF

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

Color values

HEX#C751BF
RGBrgb(199, 81, 191)
HSLhsl(304, 51%, 55%)
HSVhsv(304, 59%, 78%)
CMYKcmyk(0%, 59.3%, 4%, 22%)
CIE-LABlab(53.80, 60.54, -35.57)
CIE-LCHlch(53.80, 70.22, 329.56°)
OKLaboklab(62.72% 0.1716 -0.0976)
OKLCHoklch(62.72% 0.197 330.4)
XYZxyz(35.8994, 21.7910, 51.5954)
Luminance0.2179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751BF #51C759
analogous
#9451C7 #C751BF #C75184
triadic
#C751BF #BFC751 #51BFC7
tetradic
#C751BF #C79451 #51C759 #5184C7
square
#C751BF #C79451 #51C759 #5184C7
split-complementary
#C751BF #84C751 #51C794
monochromatic
#772672 #A6359E #C751BF #D67FD0 #E5AEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C751BF#FFFFFF#000000##000000
##C751BF1.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)
#4976C2
Deuteranopia (green-blind)
#7086BC
Tritanopia (blue-blind)
#CE5D81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c751bf;
/* rgb */ color: rgb(199, 81, 191);
/* oklch */ color: oklch(62.7% 0.197 330.4);
Tailwind
colors: {
  custom: {
    50: '#db89d2',
    500: '#c751bf',
    950: '#000000',
  },
}
SCSS
$custom: #c751bf;
$custom-light: #db89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c751bf",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 304.068,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62721,
    "c": 0.19738,
    "h": 330.4
  },
  "luminance": 0.21789
}

Semantic roles & 50–950 ramp

primary
#C751BF
secondary
#A1D3A4
accent
#DB574D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C751BF

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

Preview Lab → · Contrast checker → · Palette generator →

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