#C751D7#C751D7

#C751D7 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.0% C 0.218 H 322.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#C751D7
RGBrgb(199, 81, 215)
HSLhsl(293, 63%, 58%)
HSVhsv(293, 62%, 84%)
CMYKcmyk(7.4%, 62.3%, 0%, 15.7%)
CIE-LABlab(55.01, 64.72, -47.40)
CIE-LCHlch(55.01, 80.23, 323.78°)
OKLaboklab(63.98% 0.1733 -0.1318)
OKLCHoklch(63.98% 0.218 322.7)
XYZxyz(38.7601, 22.9353, 66.6622)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751D7 #61D751
analogous
#8451D7 #C751D7 #D751A4
triadic
#C751D7 #D7C751 #51D7C7
tetradic
#C751D7 #D78451 #61D751 #51A4D7
square
#C751D7 #D78451 #61D751 #51A4D7
split-complementary
#C751D7 #A4D751 #51D784
monochromatic
#80208D #AD2CBF #C751D7 #D783E2 #E7B5EE

Accessibility & contrast

On white

3.76
#C751D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#C751D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751D7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751D7#FFFFFF#000000##000000
##C751D71.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#347BDB
Deuteranopia (green-blind)
#6388D4
Tritanopia (blue-blind)
#CA668D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c751d7;
/* rgb */ color: rgb(199, 81, 215);
/* oklch */ color: oklch(64.0% 0.218 322.7);
Tailwind
colors: {
  custom: {
    50: '#db89e4',
    500: '#c751d7',
    950: '#000000',
  },
}
SCSS
$custom: #c751d7;
$custom-light: #db89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c751d7",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 292.836,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63984,
    "c": 0.21772,
    "h": 322.7
  },
  "luminance": 0.22933
}

Semantic roles & 50–950 ramp

primary
#C751D7
secondary
#AEDDA7
accent
#E64256
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C751D7

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

Preview Lab → · Contrast checker → · Palette generator →

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