#C751BA#C751BA

#C751BA is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.5% C 0.193 H 332.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C751BA
RGBrgb(199, 81, 186)
HSLhsl(307, 51%, 55%)
HSVhsv(307, 59%, 78%)
CMYKcmyk(0%, 59.3%, 6.5%, 22%)
CIE-LABlab(53.57, 59.72, -33.05)
CIE-LCHlch(53.57, 68.25, 331.04°)
OKLaboklab(62.48% 0.1709 -0.0904)
OKLCHoklch(62.48% 0.193 332.1)
XYZxyz(35.3585, 21.5747, 48.7469)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751BA #51C75E
analogous
#9951C7 #C751BA #C7517F
triadic
#C751BA #BAC751 #51BAC7
tetradic
#C751BA #C79951 #51C75E #517FC7
square
#C751BA #C79951 #51C75E #517FC7
split-complementary
#C751BA #7FC751 #51C799
monochromatic
#77266E #A63599 #C751BA #D67FCC #E5AEDF

Accessibility & contrast

On white

3.95
#C751BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#C751BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751BA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751BA#FFFFFF#000000##000000
##C751BA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BD
Deuteranopia (green-blind)
#7286B7
Tritanopia (blue-blind)
#CF5B7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c751ba;
/* rgb */ color: rgb(199, 81, 186);
/* oklch */ color: oklch(62.5% 0.193 332.1);
Tailwind
colors: {
  custom: {
    50: '#db89cf',
    500: '#c751ba',
    950: '#000000',
  },
}
SCSS
$custom: #c751ba;
$custom-light: #db89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c751ba",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 306.61,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62476,
    "c": 0.19335,
    "h": 332.1
  },
  "luminance": 0.21572
}

Semantic roles & 50–950 ramp

primary
#C751BA
secondary
#A1D3A7
accent
#DB5D4D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C751BA

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

Preview Lab → · Contrast checker → · Palette generator →

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