#C751E1#C751E1

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

Color values

HEX#C751E1
RGBrgb(199, 81, 225)
HSLhsl(289, 71%, 60%)
HSVhsv(289, 64%, 88%)
CMYKcmyk(11.6%, 64%, 0%, 11.8%)
CIE-LABlab(55.55, 66.56, -52.19)
CIE-LCHlch(55.55, 84.58, 321.90°)
OKLaboklab(64.55% 0.1734 -0.1458)
OKLCHoklch(64.55% 0.227 319.9)
XYZxyz(40.0845, 23.4651, 73.6374)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751E1 #6BE151
analogous
#7F51E1 #C751E1 #E151B3
triadic
#C751E1 #E1C751 #51E1C7
tetradic
#C751E1 #E17F51 #6BE151 #51B3E1
square
#C751E1 #E17F51 #6BE151 #51B3E1
split-complementary
#C751E1 #B3E151 #51E17F
monochromatic
#851B9D #B224D1 #C751E1 #D885EA #E9B9F3

Accessibility & contrast

On white

3.69
#C751E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#C751E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751E1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751E1#FFFFFF#000000##000000
##C751E11.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#267DE5
Deuteranopia (green-blind)
#5D89DD
Tritanopia (blue-blind)
#C86A92
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c751e1;
/* rgb */ color: rgb(199, 81, 225);
/* oklch */ color: oklch(64.6% 0.227 319.9);
Tailwind
colors: {
  custom: {
    50: '#db8aeb',
    500: '#c751e1',
    950: '#000000',
  },
}
SCSS
$custom: #c751e1;
$custom-light: #db8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#c751e1",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 289.167,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.64552,
    "c": 0.22654,
    "h": 319.9
  },
  "luminance": 0.23463
}

Semantic roles & 50–950 ramp

primary
#C751E1
secondary
#B5E3AB
accent
#ED3A5B
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C751E1

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

Preview Lab → · Contrast checker → · Palette generator →

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