#C751C8#C751C8

#C751C8 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.2% C 0.205 H 327.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C751C8
RGBrgb(199, 81, 200)
HSLhsl(299, 52%, 55%)
HSVhsv(299, 60%, 78%)
CMYKcmyk(0.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(54.24, 62.07, -40.06)
CIE-LCHlch(54.24, 73.88, 327.16°)
OKLaboklab(63.18% 0.1724 -0.1106)
OKLCHoklch(63.18% 0.205 327.3)
XYZxyz(36.9204, 22.1994, 56.9727)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751C8 #52C851
analogous
#8C51C8 #C751C8 #C8518D
triadic
#C751C8 #C8C751 #51C8C7
tetradic
#C751C8 #C88C51 #52C851 #518DC8
square
#C751C8 #C88C51 #52C851 #518DC8
split-complementary
#C751C8 #8DC851 #51C88C
monochromatic
#782679 #A635A7 #C751C8 #D680D7 #E5AEE5

Accessibility & contrast

On white

3.86
#C751C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#C751C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751C8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751C8#FFFFFF#000000##000000
##C751C81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4278CC
Deuteranopia (green-blind)
#6C87C5
Tritanopia (blue-blind)
#CD6085
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c751c8;
/* rgb */ color: rgb(199, 81, 200);
/* oklch */ color: oklch(63.2% 0.205 327.3);
Tailwind
colors: {
  custom: {
    50: '#db89d9',
    500: '#c751c8',
    950: '#000000',
  },
}
SCSS
$custom: #c751c8;
$custom-light: #db89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c751c8",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 299.496,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63178,
    "c": 0.20483,
    "h": 327.3
  },
  "luminance": 0.22197
}

Semantic roles & 50–950 ramp

primary
#C751C8
secondary
#A2D3A1
accent
#DB4C4E
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C751C8

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

Preview Lab → · Contrast checker → · Palette generator →

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