#C751D2#C751D2

#C751D2 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.7% C 0.213 H 324.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C751D2
RGBrgb(199, 81, 210)
HSLhsl(295, 59%, 57%)
HSVhsv(295, 61%, 82%)
CMYKcmyk(5.2%, 61.4%, 0%, 17.6%)
CIE-LABlab(54.74, 63.82, -44.98)
CIE-LCHlch(54.74, 78.08, 324.83°)
OKLaboklab(63.71% 0.1731 -0.1248)
OKLCHoklch(63.71% 0.213 324.2)
XYZxyz(38.1275, 22.6823, 63.3301)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751D2 #5CD251
analogous
#8751D2 #C751D2 #D2519C
triadic
#C751D2 #D2C751 #51D2C7
tetradic
#C751D2 #D28751 #5CD251 #519CD2
square
#C751D2 #D28751 #5CD251 #519CD2
split-complementary
#C751D2 #9CD251 #51D287
monochromatic
#7D2386 #AB2FB7 #C751D2 #D782DF #E6B2EB

Accessibility & contrast

On white

3.79
#C751D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#C751D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751D2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751D2#FFFFFF#000000##000000
##C751D21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#397AD6
Deuteranopia (green-blind)
#6688CF
Tritanopia (blue-blind)
#CB648A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c751d2;
/* rgb */ color: rgb(199, 81, 210);
/* oklch */ color: oklch(63.7% 0.213 324.2);
Tailwind
colors: {
  custom: {
    50: '#db89e0',
    500: '#c751d2',
    950: '#000000',
  },
}
SCSS
$custom: #c751d2;
$custom-light: #db89e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c751d2",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 294.884,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6371,
    "c": 0.21337,
    "h": 324.2
  },
  "luminance": 0.2268
}

Semantic roles & 50–950 ramp

primary
#C751D2
secondary
#AADAA5
accent
#E24653
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C751D2

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

Preview Lab → · Contrast checker → · Palette generator →

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