#C751E7#C751E7

#C751E7 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.9% C 0.232 H 318.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#C751E7
RGBrgb(199, 81, 231)
HSLhsl(287, 76%, 61%)
HSVhsv(287, 65%, 91%)
CMYKcmyk(13.9%, 64.9%, 0%, 9.4%)
CIE-LABlab(55.89, 67.69, -55.03)
CIE-LCHlch(55.89, 87.24, 320.89°)
OKLaboklab(64.9% 0.1733 -0.1541)
OKLCHoklch(64.9% 0.232 318.4)
XYZxyz(40.9175, 23.7983, 78.0240)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751E7 #71E751
analogous
#7C51E7 #C751E7 #E751BC
triadic
#C751E7 #E7C751 #51E7C7
tetradic
#C751E7 #E77C51 #71E751 #51BCE7
square
#C751E7 #E77C51 #71E751 #51BCE7
split-complementary
#C751E7 #BCE751 #51E77C
monochromatic
#8817A7 #B41EDC #C751E7 #D887EE #EABDF6

Accessibility & contrast

On white

3.65
#C751E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#C751E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751E7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751E7#FFFFFF#000000##000000
##C751E71.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#197EEB
Deuteranopia (green-blind)
#588AE3
Tritanopia (blue-blind)
#C66C95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c751e7;
/* rgb */ color: rgb(199, 81, 231);
/* oklch */ color: oklch(64.9% 0.232 318.4);
Tailwind
colors: {
  custom: {
    50: '#dc8aef',
    500: '#c751e7',
    950: '#000000',
  },
}
SCSS
$custom: #c751e7;
$custom-light: #dc8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#c751e7",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 287.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64903,
    "c": 0.23191,
    "h": 318.4
  },
  "luminance": 0.23796
}

Semantic roles & 50–950 ramp

primary
#C751E7
secondary
#BAE6AE
accent
#D80E39
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C751E7

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

Preview Lab → · Contrast checker → · Palette generator →

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