#C751D5#C751D5

#C751D5 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.9% C 0.216 H 323.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#C751D5
RGBrgb(199, 81, 213)
HSLhsl(294, 61%, 58%)
HSVhsv(294, 62%, 84%)
CMYKcmyk(6.6%, 62%, 0%, 16.5%)
CIE-LABlab(54.90, 64.36, -46.43)
CIE-LCHlch(54.90, 79.36, 324.19°)
OKLaboklab(63.87% 0.1732 -0.129)
OKLCHoklch(63.87% 0.216 323.3)
XYZxyz(38.5047, 22.8332, 65.3170)
Luminance0.2283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751D5 #5FD551
analogous
#8551D5 #C751D5 #D551A1
triadic
#C751D5 #D5C751 #51D5C7
tetradic
#C751D5 #D58551 #5FD551 #51A1D5
square
#C751D5 #D58551 #5FD551 #51A1D5
split-complementary
#C751D5 #A1D551 #51D585
monochromatic
#7F218A #AC2DBC #C751D5 #D782E1 #E7B4ED

Accessibility & contrast

On white

3.77
#C751D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#C751D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751D5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751D5#FFFFFF#000000##000000
##C751D51.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#367AD9
Deuteranopia (green-blind)
#6588D2
Tritanopia (blue-blind)
#CA658C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c751d5;
/* rgb */ color: rgb(199, 81, 213);
/* oklch */ color: oklch(63.9% 0.216 323.3);
Tailwind
colors: {
  custom: {
    50: '#db89e2',
    500: '#c751d5',
    950: '#000000',
  },
}
SCSS
$custom: #c751d5;
$custom-light: #db89e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c751d5",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 293.636,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63874,
    "c": 0.21597,
    "h": 323.3
  },
  "luminance": 0.22831
}

Semantic roles & 50–950 ramp

primary
#C751D5
secondary
#ACDBA6
accent
#E44455
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C751D5

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

Preview Lab → · Contrast checker → · Palette generator →

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