#C751BD#C751BD

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

Color values

HEX#C751BD
RGBrgb(199, 81, 189)
HSLhsl(305, 51%, 55%)
HSVhsv(305, 59%, 78%)
CMYKcmyk(0%, 59.3%, 5%, 22%)
CIE-LABlab(53.71, 60.21, -34.56)
CIE-LCHlch(53.71, 69.43, 330.14°)
OKLaboklab(62.62% 0.1713 -0.0947)
OKLCHoklch(62.62% 0.196 331.1)
XYZxyz(35.6808, 21.7036, 50.4442)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751BD #51C75B
analogous
#9651C7 #C751BD #C75182
triadic
#C751BD #BDC751 #51BDC7
tetradic
#C751BD #C79651 #51C75B #5182C7
square
#C751BD #C79651 #51C75B #5182C7
split-complementary
#C751BD #82C751 #51C796
monochromatic
#772670 #A6359C #C751BD #D67FCF #E5AEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C751BD#FFFFFF#000000##000000
##C751BD1.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)
#4A76C0
Deuteranopia (green-blind)
#7186BA
Tritanopia (blue-blind)
#CE5C80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c751bd;
/* rgb */ color: rgb(199, 81, 189);
/* oklch */ color: oklch(62.6% 0.196 331.1);
Tailwind
colors: {
  custom: {
    50: '#db89d1',
    500: '#c751bd',
    950: '#000000',
  },
}
SCSS
$custom: #c751bd;
$custom-light: #db89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c751bd",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 305.085,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62622,
    "c": 0.19575,
    "h": 331.1
  },
  "luminance": 0.21701
}

Semantic roles & 50–950 ramp

primary
#C751BD
secondary
#A1D3A5
accent
#DB594D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C751BD

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

Preview Lab → · Contrast checker → · Palette generator →

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