#C751E3#C751E3

#C751E3 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.7% C 0.228 H 319.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#C751E3
RGBrgb(199, 81, 227)
HSLhsl(288, 72%, 60%)
HSVhsv(288, 64%, 89%)
CMYKcmyk(12.3%, 64.3%, 0%, 11%)
CIE-LABlab(55.66, 66.93, -53.14)
CIE-LCHlch(55.66, 85.47, 321.55°)
OKLaboklab(64.67% 0.1734 -0.1486)
OKLCHoklch(64.67% 0.228 319.4)
XYZxyz(40.3590, 23.5749, 75.0827)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751E3 #6DE351
analogous
#7E51E3 #C751E3 #E351B6
triadic
#C751E3 #E3C751 #51E3C7
tetradic
#C751E3 #E37E51 #6DE351 #51B6E3
square
#C751E3 #E37E51 #6DE351 #51B6E3
split-complementary
#C751E3 #B6E351 #51E37E
monochromatic
#861AA0 #B222D5 #C751E3 #D886EB #E9BAF4

Accessibility & contrast

On white

3.67
#C751E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#C751E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751E3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751E3#FFFFFF#000000##000000
##C751E31.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#227DE7
Deuteranopia (green-blind)
#5B89DF
Tritanopia (blue-blind)
#C76A93
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c751e3;
/* rgb */ color: rgb(199, 81, 227);
/* oklch */ color: oklch(64.7% 0.228 319.4);
Tailwind
colors: {
  custom: {
    50: '#dc8aec',
    500: '#c751e3',
    950: '#000000',
  },
}
SCSS
$custom: #c751e3;
$custom-light: #dc8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#c751e3",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 288.493,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64668,
    "c": 0.22833,
    "h": 319.4
  },
  "luminance": 0.23573
}

Semantic roles & 50–950 ramp

primary
#C751E3
secondary
#B7E4AC
accent
#D41137
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C751E3

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

Preview Lab → · Contrast checker → · Palette generator →

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