#C751B4#C751B4

#C751B4 is a light, vivid purple. Relative luminance 0.213; OKLCH L 62.2% C 0.189 H 334.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C751B4
RGBrgb(199, 81, 180)
HSLhsl(310, 51%, 55%)
HSVhsv(310, 59%, 78%)
CMYKcmyk(0%, 59.3%, 9.5%, 22%)
CIE-LABlab(53.30, 58.75, -29.99)
CIE-LCHlch(53.30, 65.96, 332.96°)
OKLaboklab(62.19% 0.1701 -0.0816)
OKLCHoklch(62.19% 0.189 334.4)
XYZxyz(34.7340, 21.3249, 45.4579)
Luminance0.2132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751B4 #51C764
analogous
#9F51C7 #C751B4 #C75179
triadic
#C751B4 #B4C751 #51B4C7
tetradic
#C751B4 #C79F51 #51C764 #5179C7
square
#C751B4 #C79F51 #51C764 #5179C7
split-complementary
#C751B4 #79C751 #51C79F
monochromatic
#77266A #A63593 #C751B4 #D67FC8 #E5AEDC

Accessibility & contrast

On white

3.99
#C751B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#C751B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751B4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751B4#FFFFFF#000000##000000
##C751B41.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5074B7
Deuteranopia (green-blind)
#7586B1
Tritanopia (blue-blind)
#D0597B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c751b4;
/* rgb */ color: rgb(199, 81, 180);
/* oklch */ color: oklch(62.2% 0.189 334.4);
Tailwind
colors: {
  custom: {
    50: '#db88ca',
    500: '#c751b4',
    950: '#000000',
  },
}
SCSS
$custom: #c751b4;
$custom-light: #db88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c751b4",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 309.661,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6219,
    "c": 0.18865,
    "h": 334.4
  },
  "luminance": 0.21322
}

Semantic roles & 50–950 ramp

primary
#C751B4
secondary
#A1D3A9
accent
#DB644D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C751B4

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

Preview Lab → · Contrast checker → · Palette generator →

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