#C751C5#C751C5

#C751C5 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.0% C 0.202 H 328.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#C751C5
RGBrgb(199, 81, 197)
HSLhsl(301, 51%, 55%)
HSVhsv(301, 59%, 78%)
CMYKcmyk(0%, 59.3%, 1%, 22%)
CIE-LABlab(54.09, 61.56, -38.57)
CIE-LCHlch(54.09, 72.64, 327.93°)
OKLaboklab(63.02% 0.1722 -0.1063)
OKLCHoklch(63.02% 0.202 328.3)
XYZxyz(36.5732, 22.0606, 55.1443)
Luminance0.2206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751C5 #51C753
analogous
#8E51C7 #C751C5 #C7518A
triadic
#C751C5 #C5C751 #51C5C7
tetradic
#C751C5 #C78E51 #51C753 #518AC7
square
#C751C5 #C78E51 #51C753 #518AC7
split-complementary
#C751C5 #8AC751 #51C78E
monochromatic
#772676 #A635A4 #C751C5 #D67FD4 #E5AEE4

Accessibility & contrast

On white

3.88
#C751C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#C751C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751C5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751C5#FFFFFF#000000##000000
##C751C51.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4577C9
Deuteranopia (green-blind)
#6D87C2
Tritanopia (blue-blind)
#CD5F84
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c751c5;
/* rgb */ color: rgb(199, 81, 197);
/* oklch */ color: oklch(63.0% 0.202 328.3);
Tailwind
colors: {
  custom: {
    50: '#db89d7',
    500: '#c751c5',
    950: '#000000',
  },
}
SCSS
$custom: #c751c5;
$custom-light: #db89d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c751c5",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 197
  },
  "hsl": {
    "h": 301.017,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.63023,
    "c": 0.20232,
    "h": 328.3
  },
  "luminance": 0.22058
}

Semantic roles & 50–950 ramp

primary
#C751C5
secondary
#A1D3A2
accent
#DB4F4D
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C751C5

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

Preview Lab → · Contrast checker → · Palette generator →

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