#C751C7#C751C7

#C751C7 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.1% C 0.204 H 327.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#C751C7
RGBrgb(199, 81, 199)
HSLhsl(300, 51%, 55%)
HSVhsv(300, 59%, 78%)
CMYKcmyk(0%, 59.3%, 0%, 22%)
CIE-LABlab(54.19, 61.90, -39.57)
CIE-LCHlch(54.19, 73.46, 327.41°)
OKLaboklab(63.13% 0.1724 -0.1091)
OKLCHoklch(63.13% 0.204 327.7)
XYZxyz(36.8039, 22.1528, 56.3592)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751C7 #51C751
analogous
#8C51C7 #C751C7 #C7518C
triadic
#C751C7 #C7C751 #51C7C7
tetradic
#C751C7 #C78C51 #51C751 #518CC7
square
#C751C7 #C78C51 #51C751 #518CC7
split-complementary
#C751C7 #8CC751 #51C78C
monochromatic
#772677 #A635A6 #C751C7 #D67FD6 #E5AEE5

Accessibility & contrast

On white

3.87
#C751C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#C751C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751C7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751C7#FFFFFF#000000##000000
##C751C71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CB
Deuteranopia (green-blind)
#6C87C4
Tritanopia (blue-blind)
#CD6085
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c751c7;
/* rgb */ color: rgb(199, 81, 199);
/* oklch */ color: oklch(63.1% 0.204 327.7);
Tailwind
colors: {
  custom: {
    50: '#db89d8',
    500: '#c751c7',
    950: '#000000',
  },
}
SCSS
$custom: #c751c7;
$custom-light: #db89d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c751c7",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 300,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.63126,
    "c": 0.20399,
    "h": 327.7
  },
  "luminance": 0.2215
}

Semantic roles & 50–950 ramp

primary
#C751C7
secondary
#A1D3A1
accent
#DB4D4D
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C751C7

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

Preview Lab → · Contrast checker → · Palette generator →

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