#C751D8#C751D8

#C751D8 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.0% C 0.219 H 322.4°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#C751D8
RGBrgb(199, 81, 216)
HSLhsl(292, 63%, 58%)
HSVhsv(292, 63%, 85%)
CMYKcmyk(7.9%, 62.5%, 0%, 15.3%)
CIE-LABlab(55.06, 64.90, -47.88)
CIE-LCHlch(55.06, 80.66, 323.58°)
OKLaboklab(64.04% 0.1733 -0.1332)
OKLCHoklch(64.04% 0.219 322.4)
XYZxyz(38.8890, 22.9869, 67.3409)
Luminance0.2298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751D8 #62D851
analogous
#8351D8 #C751D8 #D851A6
triadic
#C751D8 #D8C751 #51D8C7
tetradic
#C751D8 #D88351 #62D851 #51A6D8
square
#C751D8 #D88351 #62D851 #51A6D8
split-complementary
#C751D8 #A6D851 #51D883
monochromatic
#81208F #AE2BC1 #C751D8 #D783E3 #E7B5EE

Accessibility & contrast

On white

3.75
#C751D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#C751D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751D8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751D8#FFFFFF#000000##000000
##C751D81.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#337BDC
Deuteranopia (green-blind)
#6388D5
Tritanopia (blue-blind)
#CA668D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c751d8;
/* rgb */ color: rgb(199, 81, 216);
/* oklch */ color: oklch(64.0% 0.219 322.4);
Tailwind
colors: {
  custom: {
    50: '#db89e4',
    500: '#c751d8',
    950: '#000000',
  },
}
SCSS
$custom: #c751d8;
$custom-light: #db89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c751d8",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 292.444,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6404,
    "c": 0.21859,
    "h": 322.4
  },
  "luminance": 0.22985
}

Semantic roles & 50–950 ramp

primary
#C751D8
secondary
#AEDDA8
accent
#E64156
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C751D8

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

Preview Lab → · Contrast checker → · Palette generator →

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