#C751E6#C751E6

#C751E6 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.8% C 0.231 H 318.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#C751E6
RGBrgb(199, 81, 230)
HSLhsl(288, 75%, 61%)
HSVhsv(288, 65%, 90%)
CMYKcmyk(13.5%, 64.8%, 0%, 9.8%)
CIE-LABlab(55.83, 67.50, -54.56)
CIE-LCHlch(55.83, 86.79, 321.05°)
OKLaboklab(64.84% 0.1733 -0.1527)
OKLCHoklch(64.84% 0.231 318.6)
XYZxyz(40.7766, 23.7419, 77.2823)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751E6 #70E651
analogous
#7C51E6 #C751E6 #E651BA
triadic
#C751E6 #E6C751 #51E6C7
tetradic
#C751E6 #E67C51 #70E651 #51BAE6
square
#C751E6 #E67C51 #70E651 #51BAE6
split-complementary
#C751E6 #BAE651 #51E67C
monochromatic
#8818A5 #B41FDA #C751E6 #D887EE #E9BCF5

Accessibility & contrast

On white

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

On black

5.75
#C751E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751E6
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751E6#FFFFFF#000000##000000
##C751E61.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7EEA
Deuteranopia (green-blind)
#598AE2
Tritanopia (blue-blind)
#C76C95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c751e6;
/* rgb */ color: rgb(199, 81, 230);
/* oklch */ color: oklch(64.8% 0.231 318.6);
Tailwind
colors: {
  custom: {
    50: '#dc8aee',
    500: '#c751e6',
    950: '#000000',
  },
}
SCSS
$custom: #c751e6;
$custom-light: #dc8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#c751e6",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 287.517,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64844,
    "c": 0.23101,
    "h": 318.6
  },
  "luminance": 0.2374
}

Semantic roles & 50–950 ramp

primary
#C751E6
secondary
#B9E5AD
accent
#D70E38
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C751E6

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

Preview Lab → · Contrast checker → · Palette generator →

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