#C751D6#C751D6

#C751D6 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.9% C 0.217 H 323.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C751D6
RGBrgb(199, 81, 214)
HSLhsl(293, 62%, 58%)
HSVhsv(293, 62%, 84%)
CMYKcmyk(7%, 62.1%, 0%, 16.1%)
CIE-LABlab(54.95, 64.54, -46.92)
CIE-LCHlch(54.95, 79.79, 323.99°)
OKLaboklab(63.93% 0.1732 -0.1304)
OKLCHoklch(63.93% 0.217 323)
XYZxyz(38.6320, 22.8841, 65.9875)
Luminance0.2288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751D6 #60D651
analogous
#8451D6 #C751D6 #D651A2
triadic
#C751D6 #D6C751 #51D6C7
tetradic
#C751D6 #D68451 #60D651 #51A2D6
square
#C751D6 #D68451 #60D651 #51A2D6
split-complementary
#C751D6 #A2D651 #51D684
monochromatic
#80218C #AD2DBD #C751D6 #D783E2 #E7B4ED

Accessibility & contrast

On white

3.77
#C751D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#C751D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751D6
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751D6#FFFFFF#000000##000000
##C751D61.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#357BDA
Deuteranopia (green-blind)
#6488D3
Tritanopia (blue-blind)
#CA658C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c751d6;
/* rgb */ color: rgb(199, 81, 214);
/* oklch */ color: oklch(63.9% 0.217 323.0);
Tailwind
colors: {
  custom: {
    50: '#db89e3',
    500: '#c751d6',
    950: '#000000',
  },
}
SCSS
$custom: #c751d6;
$custom-light: #db89e3;
$custom-dark: #000000;
JSON
{
  "hex": "#c751d6",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 293.233,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63929,
    "c": 0.21684,
    "h": 323
  },
  "luminance": 0.22882
}

Semantic roles & 50–950 ramp

primary
#C751D6
secondary
#ADDCA7
accent
#E54355
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C751D6

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

Preview Lab → · Contrast checker → · Palette generator →

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