#C751B5#C751B5

#C751B5 is a light, vivid purple. Relative luminance 0.214; OKLCH L 62.2% C 0.189 H 334.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C751B5
RGBrgb(199, 81, 181)
HSLhsl(309, 51%, 55%)
HSVhsv(309, 59%, 78%)
CMYKcmyk(0%, 59.3%, 9%, 22%)
CIE-LABlab(53.35, 58.91, -30.50)
CIE-LCHlch(53.35, 66.34, 332.63°)
OKLaboklab(62.24% 0.1702 -0.0831)
OKLCHoklch(62.24% 0.189 334)
XYZxyz(34.8362, 21.3658, 45.9963)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751B5 #51C763
analogous
#9E51C7 #C751B5 #C7517A
triadic
#C751B5 #B5C751 #51B5C7
tetradic
#C751B5 #C79E51 #51C763 #517AC7
square
#C751B5 #C79E51 #51C763 #517AC7
split-complementary
#C751B5 #7AC751 #51C79E
monochromatic
#77266B #A63594 #C751B5 #D67FC9 #E5AEDC

Accessibility & contrast

On white

3.98
#C751B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#C751B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751B5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751B5#FFFFFF#000000##000000
##C751B51.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B8
Deuteranopia (green-blind)
#7486B2
Tritanopia (blue-blind)
#D0597C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c751b5;
/* rgb */ color: rgb(199, 81, 181);
/* oklch */ color: oklch(62.2% 0.189 334.0);
Tailwind
colors: {
  custom: {
    50: '#db88cb',
    500: '#c751b5',
    950: '#000000',
  },
}
SCSS
$custom: #c751b5;
$custom-light: #db88cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c751b5",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 181
  },
  "hsl": {
    "h": 309.153,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62237,
    "c": 0.18942,
    "h": 334
  },
  "luminance": 0.21363
}

Semantic roles & 50–950 ramp

primary
#C751B5
secondary
#A1D3A9
accent
#DB634D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C751B5

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

Preview Lab → · Contrast checker → · Palette generator →

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