#C751F1#C751F1

#C751F1 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.5% C 0.241 H 315.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#C751F1
RGBrgb(199, 81, 241)
HSLhsl(284, 85%, 63%)
HSVhsv(284, 66%, 95%)
CMYKcmyk(17.4%, 66.4%, 0%, 5.5%)
CIE-LABlab(56.47, 69.60, -59.70)
CIE-LCHlch(56.47, 91.70, 319.38°)
OKLaboklab(65.51% 0.1729 -0.1677)
OKLCHoklch(65.51% 0.241 315.9)
XYZxyz(42.3703, 24.3794, 85.6758)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751F1 #7BF151
analogous
#7751F1 #C751F1 #F151CB
triadic
#C751F1 #F1C751 #51F1C7
tetradic
#C751F1 #F17751 #7BF151 #51CBF1
square
#C751F1 #F17751 #7BF151 #51CBF1
split-complementary
#C751F1 #CBF151 #51F177
monochromatic
#8C0FB9 #B518EC #C751F1 #D98AF6 #EBC2FA

Accessibility & contrast

On white

3.57
#C751F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#C751F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751F1
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751F1#FFFFFF#000000##000000
##C751F11.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#508BED
Tritanopia (blue-blind)
#C4709B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c751f1;
/* rgb */ color: rgb(199, 81, 241);
/* oklch */ color: oklch(65.5% 0.241 315.9);
Tailwind
colors: {
  custom: {
    50: '#dc8af6',
    500: '#c751f1',
    950: '#000000',
  },
}
SCSS
$custom: #c751f1;
$custom-light: #dc8af6;
$custom-dark: #000000;
JSON
{
  "hex": "#c751f1",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 241
  },
  "hsl": {
    "h": 284.25,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65507,
    "c": 0.24092,
    "h": 315.9
  },
  "luminance": 0.24378
}

Semantic roles & 50–950 ramp

primary
#C751F1
secondary
#C1ECB2
accent
#E2043E
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#150C17
muted
#847D85

Preview Lab

Preview with #C751F1

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

Preview Lab → · Contrast checker → · Palette generator →

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