#C751DF#C751DF

#C751DF is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.4% C 0.225 H 320.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#C751DF
RGBrgb(199, 81, 223)
HSLhsl(290, 69%, 60%)
HSVhsv(290, 64%, 87%)
CMYKcmyk(10.8%, 63.7%, 0%, 12.5%)
CIE-LABlab(55.44, 66.19, -51.24)
CIE-LCHlch(55.44, 83.71, 322.25°)
OKLaboklab(64.44% 0.1734 -0.143)
OKLCHoklch(64.44% 0.225 320.5)
XYZxyz(39.8133, 23.3566, 72.2089)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751DF #69DF51
analogous
#8051DF #C751DF #DF51B0
triadic
#C751DF #DFC751 #51DFC7
tetradic
#C751DF #DF8051 #69DF51 #51B0DF
square
#C751DF #DF8051 #69DF51 #51B0DF
split-complementary
#C751DF #B0DF51 #51DF80
monochromatic
#841C99 #B126CD #C751DF #D885E9 #E8B8F2

Accessibility & contrast

On white

3.70
#C751DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#C751DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751DF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751DF#FFFFFF#000000##000000
##C751DF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#297CE3
Deuteranopia (green-blind)
#5E89DB
Tritanopia (blue-blind)
#C86991
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c751df;
/* rgb */ color: rgb(199, 81, 223);
/* oklch */ color: oklch(64.4% 0.225 320.5);
Tailwind
colors: {
  custom: {
    50: '#db8ae9',
    500: '#c751df',
    950: '#000000',
  },
}
SCSS
$custom: #c751df;
$custom-light: #db8ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#c751df",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 289.859,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64436,
    "c": 0.22476,
    "h": 320.5
  },
  "luminance": 0.23355
}

Semantic roles & 50–950 ramp

primary
#C751DF
secondary
#B4E1AA
accent
#EC3C5A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C751DF

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

Preview Lab → · Contrast checker → · Palette generator →

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