#C751CD#C751CD

#C751CD is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.4% C 0.209 H 325.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C751CD
RGBrgb(199, 81, 205)
HSLhsl(297, 55%, 56%)
HSVhsv(297, 60%, 80%)
CMYKcmyk(2.9%, 60.5%, 0%, 19.6%)
CIE-LABlab(54.49, 62.94, -42.53)
CIE-LCHlch(54.49, 75.96, 325.95°)
OKLaboklab(63.44% 0.1728 -0.1177)
OKLCHoklch(63.44% 0.209 325.7)
XYZxyz(37.5143, 22.4370, 60.1006)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751CD #57CD51
analogous
#8951CD #C751CD #CD5195
triadic
#C751CD #CDC751 #51CDC7
tetradic
#C751CD #CD8951 #57CD51 #5195CD
square
#C751CD #CD8951 #57CD51 #5195CD
split-complementary
#C751CD #95CD51 #51CD89
monochromatic
#7B257F #A932AF #C751CD #D681DB #E6B0E8

Accessibility & contrast

On white

3.83
#C751CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#C751CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751CD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751CD#FFFFFF#000000##000000
##C751CD1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#6988CA
Tritanopia (blue-blind)
#CC6288
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c751cd;
/* rgb */ color: rgb(199, 81, 205);
/* oklch */ color: oklch(63.4% 0.209 325.7);
Tailwind
colors: {
  custom: {
    50: '#db89dd',
    500: '#c751cd',
    950: '#000000',
  },
}
SCSS
$custom: #c751cd;
$custom-light: #db89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c751cd",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 297.097,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63441,
    "c": 0.20907,
    "h": 325.7
  },
  "luminance": 0.22435
}

Semantic roles & 50–950 ramp

primary
#C751CD
secondary
#A6D7A3
accent
#DF4950
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C751CD

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

Preview Lab → · Contrast checker → · Palette generator →

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