#C751E9#C751E9

#C751E9 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.0% C 0.234 H 317.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C751E9
RGBrgb(199, 81, 233)
HSLhsl(287, 78%, 62%)
HSVhsv(287, 65%, 91%)
CMYKcmyk(14.6%, 65.2%, 0%, 8.6%)
CIE-LABlab(56.00, 68.07, -55.97)
CIE-LCHlch(56.00, 88.12, 320.57°)
OKLaboklab(65.02% 0.1733 -0.1568)
OKLCHoklch(65.02% 0.234 317.8)
XYZxyz(41.2015, 23.9119, 79.5202)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751E9 #73E951
analogous
#7B51E9 #C751E9 #E951BF
triadic
#C751E9 #E9C751 #51E9C7
tetradic
#C751E9 #E97B51 #73E951 #51BFE9
square
#C751E9 #E97B51 #73E951 #51BFE9
split-complementary
#C751E9 #BFE951 #51E97B
monochromatic
#8916AA #B51CE0 #C751E9 #D887F0 #EABEF7

Accessibility & contrast

On white

3.63
#C751E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#C751E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751E9
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751E9#FFFFFF#000000##000000
##C751E91.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#137FEE
Deuteranopia (green-blind)
#578AE5
Tritanopia (blue-blind)
#C66D96
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c751e9;
/* rgb */ color: rgb(199, 81, 233);
/* oklch */ color: oklch(65.0% 0.234 317.8);
Tailwind
colors: {
  custom: {
    50: '#dc8af1',
    500: '#c751e9',
    950: '#000000',
  },
}
SCSS
$custom: #c751e9;
$custom-light: #dc8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#c751e9",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 286.579,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65022,
    "c": 0.2337,
    "h": 317.8
  },
  "luminance": 0.2391
}

Semantic roles & 50–950 ramp

primary
#C751E9
secondary
#BBE7AF
accent
#DA0C3A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C751E9

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

Preview Lab → · Contrast checker → · Palette generator →

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