#C751D4#C751D4

#C751D4 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.8% C 0.215 H 323.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#C751D4
RGBrgb(199, 81, 212)
HSLhsl(294, 60%, 57%)
HSVhsv(294, 62%, 83%)
CMYKcmyk(6.1%, 61.8%, 0%, 16.9%)
CIE-LABlab(54.85, 64.18, -45.95)
CIE-LCHlch(54.85, 78.93, 324.40°)
OKLaboklab(63.82% 0.1732 -0.1276)
OKLCHoklch(63.82% 0.215 323.6)
XYZxyz(38.3782, 22.7826, 64.6506)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751D4 #5ED451
analogous
#8651D4 #C751D4 #D4519F
triadic
#C751D4 #D4C751 #51D4C7
tetradic
#C751D4 #D48651 #5ED451 #519FD4
square
#C751D4 #D48651 #5ED451 #519FD4
split-complementary
#C751D4 #9FD451 #51D486
monochromatic
#7F2289 #AC2EBA #C751D4 #D782E0 #E7B3EC

Accessibility & contrast

On white

3.78
#C751D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#C751D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751D4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751D4#FFFFFF#000000##000000
##C751D41.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#377AD8
Deuteranopia (green-blind)
#6588D1
Tritanopia (blue-blind)
#CA658B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c751d4;
/* rgb */ color: rgb(199, 81, 212);
/* oklch */ color: oklch(63.8% 0.215 323.6);
Tailwind
colors: {
  custom: {
    50: '#db89e2',
    500: '#c751d4',
    950: '#000000',
  },
}
SCSS
$custom: #c751d4;
$custom-light: #db89e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c751d4",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 294.046,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63819,
    "c": 0.2151,
    "h": 323.6
  },
  "luminance": 0.2278
}

Semantic roles & 50–950 ramp

primary
#C751D4
secondary
#ABDBA6
accent
#E44454
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C751D4

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

Preview Lab → · Contrast checker → · Palette generator →

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