#C751DD#C751DD

#C751DD is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.3% C 0.223 H 321.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#C751DD
RGBrgb(199, 81, 221)
HSLhsl(291, 67%, 59%)
HSVhsv(291, 63%, 87%)
CMYKcmyk(10%, 63.3%, 0%, 13.3%)
CIE-LABlab(55.33, 65.82, -50.29)
CIE-LCHlch(55.33, 82.83, 322.62°)
OKLaboklab(64.32% 0.1734 -0.1402)
OKLCHoklch(64.32% 0.223 321)
XYZxyz(39.5453, 23.2494, 70.7972)
Luminance0.2325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751DD #67DD51
analogous
#8151DD #C751DD #DD51AD
triadic
#C751DD #DDC751 #51DDC7
tetradic
#C751DD #DD8151 #67DD51 #51ADDD
square
#C751DD #DD8151 #67DD51 #51ADDD
split-complementary
#C751DD #ADDD51 #51DD81
monochromatic
#831D96 #B027C9 #C751DD #D784E7 #E8B7F1

Accessibility & contrast

On white

3.72
#C751DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#C751DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751DD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751DD#FFFFFF#000000##000000
##C751DD1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7CE1
Deuteranopia (green-blind)
#6089D9
Tritanopia (blue-blind)
#C96890
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c751dd;
/* rgb */ color: rgb(199, 81, 221);
/* oklch */ color: oklch(64.3% 0.223 321.0);
Tailwind
colors: {
  custom: {
    50: '#db89e8',
    500: '#c751dd',
    950: '#000000',
  },
}
SCSS
$custom: #c751dd;
$custom-light: #db89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c751dd",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 290.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64322,
    "c": 0.223,
    "h": 321
  },
  "luminance": 0.23247
}

Semantic roles & 50–950 ramp

primary
#C751DD
secondary
#B2E0AA
accent
#EA3E59
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C751DD

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

Preview Lab → · Contrast checker → · Palette generator →

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