#C751E2#C751E2

#C751E2 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.6% C 0.227 H 319.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#C751E2
RGBrgb(199, 81, 226)
HSLhsl(289, 71%, 60%)
HSVhsv(289, 64%, 89%)
CMYKcmyk(11.9%, 64.2%, 0%, 11.4%)
CIE-LABlab(55.60, 66.75, -52.67)
CIE-LCHlch(55.60, 85.03, 321.72°)
OKLaboklab(64.61% 0.1734 -0.1472)
OKLCHoklch(64.61% 0.227 319.7)
XYZxyz(40.2214, 23.5198, 74.3579)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751E2 #6CE251
analogous
#7F51E2 #C751E2 #E251B4
triadic
#C751E2 #E2C751 #51E2C7
tetradic
#C751E2 #E27F51 #6CE251 #51B4E2
square
#C751E2 #E27F51 #6CE251 #51B4E2
split-complementary
#C751E2 #B4E251 #51E27F
monochromatic
#861A9E #B223D3 #C751E2 #D885EB #E9BAF3

Accessibility & contrast

On white

3.68
#C751E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#C751E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751E2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751E2#FFFFFF#000000##000000
##C751E21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#247DE6
Deuteranopia (green-blind)
#5C89DE
Tritanopia (blue-blind)
#C86A93
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c751e2;
/* rgb */ color: rgb(199, 81, 226);
/* oklch */ color: oklch(64.6% 0.227 319.7);
Tailwind
colors: {
  custom: {
    50: '#db8aec',
    500: '#c751e2',
    950: '#000000',
  },
}
SCSS
$custom: #c751e2;
$custom-light: #db8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#c751e2",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 288.828,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6461,
    "c": 0.22743,
    "h": 319.7
  },
  "luminance": 0.23518
}

Semantic roles & 50–950 ramp

primary
#C751E2
secondary
#B6E3AC
accent
#D31236
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C751E2

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

Preview Lab → · Contrast checker → · Palette generator →

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