#C751C2#C751C2

#C751C2 is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.9% C 0.200 H 329.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#C751C2
RGBrgb(199, 81, 194)
HSLhsl(303, 51%, 55%)
HSVhsv(303, 59%, 78%)
CMYKcmyk(0%, 59.3%, 2.5%, 22%)
CIE-LABlab(53.95, 61.05, -37.08)
CIE-LCHlch(53.95, 71.42, 328.73°)
OKLaboklab(62.87% 0.1719 -0.1019)
OKLCHoklch(62.87% 0.2 329.3)
XYZxyz(36.2329, 21.9244, 53.3519)
Luminance0.2192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751C2 #51C756
analogous
#9151C7 #C751C2 #C75187
triadic
#C751C2 #C2C751 #51C2C7
tetradic
#C751C2 #C79151 #51C756 #5187C7
square
#C751C2 #C79151 #51C756 #5187C7
split-complementary
#C751C2 #87C751 #51C791
monochromatic
#772674 #A635A1 #C751C2 #D67FD2 #E5AEE2

Accessibility & contrast

On white

3.90
#C751C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#C751C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751C2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751C2#FFFFFF#000000##000000
##C751C21.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#6F87BF
Tritanopia (blue-blind)
#CE5E82
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c751c2;
/* rgb */ color: rgb(199, 81, 194);
/* oklch */ color: oklch(62.9% 0.200 329.3);
Tailwind
colors: {
  custom: {
    50: '#db89d5',
    500: '#c751c2',
    950: '#000000',
  },
}
SCSS
$custom: #c751c2;
$custom-light: #db89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c751c2",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 302.542,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62871,
    "c": 0.19983,
    "h": 329.3
  },
  "luminance": 0.21922
}

Semantic roles & 50–950 ramp

primary
#C751C2
secondary
#A1D3A3
accent
#DB534D
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C751C2

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

Preview Lab → · Contrast checker → · Palette generator →

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