#C751D1#C751D1

#C751D1 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.212 H 324.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#C751D1
RGBrgb(199, 81, 209)
HSLhsl(295, 58%, 57%)
HSVhsv(295, 61%, 82%)
CMYKcmyk(4.8%, 61.2%, 0%, 18%)
CIE-LABlab(54.69, 63.65, -44.49)
CIE-LCHlch(54.69, 77.65, 325.05°)
OKLaboklab(63.65% 0.173 -0.1234)
OKLCHoklch(63.65% 0.213 324.5)
XYZxyz(38.0033, 22.6326, 62.6760)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751D1 #5BD151
analogous
#8751D1 #C751D1 #D1519B
triadic
#C751D1 #D1C751 #51D1C7
tetradic
#C751D1 #D18751 #5BD151 #519BD1
square
#C751D1 #D18751 #5BD151 #519BD1
split-complementary
#C751D1 #9BD151 #51D187
monochromatic
#7D2385 #AB30B5 #C751D1 #D781DE #E6B2EB

Accessibility & contrast

On white

3.80
#C751D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#C751D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751D1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751D1#FFFFFF#000000##000000
##C751D11.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7AD5
Deuteranopia (green-blind)
#6788CE
Tritanopia (blue-blind)
#CB638A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c751d1;
/* rgb */ color: rgb(199, 81, 209);
/* oklch */ color: oklch(63.7% 0.212 324.5);
Tailwind
colors: {
  custom: {
    50: '#db89df',
    500: '#c751d1',
    950: '#000000',
  },
}
SCSS
$custom: #c751d1;
$custom-light: #db89df;
$custom-dark: #000000;
JSON
{
  "hex": "#c751d1",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 209
  },
  "hsl": {
    "h": 295.313,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63655,
    "c": 0.2125,
    "h": 324.5
  },
  "luminance": 0.2263
}

Semantic roles & 50–950 ramp

primary
#C751D1
secondary
#A9D9A5
accent
#E14653
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C751D1

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

Preview Lab → · Contrast checker → · Palette generator →

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