#C751EC#C751EC

#C751EC is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.2% C 0.236 H 317.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#C751EC
RGBrgb(199, 81, 236)
HSLhsl(286, 80%, 62%)
HSVhsv(286, 66%, 93%)
CMYKcmyk(15.7%, 65.7%, 0%, 7.5%)
CIE-LABlab(56.17, 68.64, -57.38)
CIE-LCHlch(56.17, 89.46, 320.11°)
OKLaboklab(65.2% 0.1732 -0.1609)
OKLCHoklch(65.2% 0.236 317.1)
XYZxyz(41.6337, 24.0848, 81.7964)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751EC #76EC51
analogous
#7951EC #C751EC #EC51C4
triadic
#C751EC #ECC751 #51ECC7
tetradic
#C751EC #EC7951 #76EC51 #51C4EC
square
#C751EC #EC7951 #76EC51 #51C4EC
split-complementary
#C751EC #C4EC51 #51EC79
monochromatic
#8A13AF #B51AE6 #C751EC #D988F2 #EBBFF8

Accessibility & contrast

On white

3.61
#C751EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#C751EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751EC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751EC#FFFFFF#000000##000000
##C751EC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#067FF1
Deuteranopia (green-blind)
#548AE8
Tritanopia (blue-blind)
#C56E98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c751ec;
/* rgb */ color: rgb(199, 81, 236);
/* oklch */ color: oklch(65.2% 0.236 317.1);
Tailwind
colors: {
  custom: {
    50: '#dc8af3',
    500: '#c751ec',
    950: '#000000',
  },
}
SCSS
$custom: #c751ec;
$custom-light: #dc8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#c751ec",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 285.677,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65202,
    "c": 0.2364,
    "h": 317.1
  },
  "luminance": 0.24083
}

Semantic roles & 50–950 ramp

primary
#C751EC
secondary
#BEE9B0
accent
#DD093B
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C751EC

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

Preview Lab → · Contrast checker → · Palette generator →

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