#C751D3#C751D3

#C751D3 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.8% C 0.214 H 323.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#C751D3
RGBrgb(199, 81, 211)
HSLhsl(294, 60%, 57%)
HSVhsv(294, 62%, 83%)
CMYKcmyk(5.7%, 61.6%, 0%, 17.3%)
CIE-LABlab(54.80, 64.00, -45.46)
CIE-LCHlch(54.80, 78.51, 324.61°)
OKLaboklab(63.76% 0.1731 -0.1262)
OKLCHoklch(63.76% 0.214 323.9)
XYZxyz(38.2524, 22.7323, 63.9883)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751D3 #5DD351
analogous
#8651D3 #C751D3 #D3519E
triadic
#C751D3 #D3C751 #51D3C7
tetradic
#C751D3 #D38651 #5DD351 #519ED3
square
#C751D3 #D38651 #5DD351 #519ED3
split-complementary
#C751D3 #9ED351 #51D386
monochromatic
#7E2287 #AC2FB8 #C751D3 #D782DF #E6B3EC

Accessibility & contrast

On white

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

On black

5.55
#C751D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751D3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751D3#FFFFFF#000000##000000
##C751D31.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#387AD7
Deuteranopia (green-blind)
#6688D0
Tritanopia (blue-blind)
#CB648B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c751d3;
/* rgb */ color: rgb(199, 81, 211);
/* oklch */ color: oklch(63.8% 0.214 323.9);
Tailwind
colors: {
  custom: {
    50: '#db89e1',
    500: '#c751d3',
    950: '#000000',
  },
}
SCSS
$custom: #c751d3;
$custom-light: #db89e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c751d3",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 294.462,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63764,
    "c": 0.21424,
    "h": 323.9
  },
  "luminance": 0.2273
}

Semantic roles & 50–950 ramp

primary
#C751D3
secondary
#AADAA6
accent
#E34554
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C751D3

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

Preview Lab → · Contrast checker → · Palette generator →

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