#C751CB#C751CB

#C751CB is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.3% C 0.207 H 326.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#C751CB
RGBrgb(199, 81, 203)
HSLhsl(298, 54%, 56%)
HSVhsv(298, 60%, 80%)
CMYKcmyk(2%, 60.1%, 0%, 20.4%)
CIE-LABlab(54.39, 62.59, -41.55)
CIE-LCHlch(54.39, 75.12, 326.43°)
OKLaboklab(63.33% 0.1727 -0.1148)
OKLCHoklch(63.33% 0.207 326.4)
XYZxyz(37.2744, 22.3410, 58.8373)
Luminance0.2234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751CB #55CB51
analogous
#8A51CB #C751CB #CB5192
triadic
#C751CB #CBC751 #51CBC7
tetradic
#C751CB #CB8A51 #55CB51 #5192CB
square
#C751CB #CB8A51 #55CB51 #5192CB
split-complementary
#C751CB #92CB51 #51CB8A
monochromatic
#7A257C #A833AC #C751CB #D680D9 #E5AFE7

Accessibility & contrast

On white

3.84
#C751CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#C751CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751CB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751CB#FFFFFF#000000##000000
##C751CB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#6A87C8
Tritanopia (blue-blind)
#CC6187
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c751cb;
/* rgb */ color: rgb(199, 81, 203);
/* oklch */ color: oklch(63.3% 0.207 326.4);
Tailwind
colors: {
  custom: {
    50: '#db89db',
    500: '#c751cb',
    950: '#000000',
  },
}
SCSS
$custom: #c751cb;
$custom-light: #db89db;
$custom-dark: #000000;
JSON
{
  "hex": "#c751cb",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 298.033,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63335,
    "c": 0.20736,
    "h": 326.4
  },
  "luminance": 0.22339
}

Semantic roles & 50–950 ramp

primary
#C751CB
secondary
#A4D5A3
accent
#DD4A4F
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C751CB

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

Preview Lab → · Contrast checker → · Palette generator →

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