#C751F0#C751F0

#C751F0 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.4% C 0.240 H 316.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#C751F0
RGBrgb(199, 81, 240)
HSLhsl(285, 84%, 63%)
HSVhsv(285, 66%, 94%)
CMYKcmyk(17.1%, 66.3%, 0%, 5.9%)
CIE-LABlab(56.41, 69.41, -59.24)
CIE-LCHlch(56.41, 91.25, 319.52°)
OKLaboklab(65.45% 0.173 -0.1664)
OKLCHoklch(65.45% 0.24 316.1)
XYZxyz(42.2214, 24.3198, 84.8913)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751F0 #7AF051
analogous
#7751F0 #C751F0 #F051CA
triadic
#C751F0 #F0C751 #51F0C7
tetradic
#C751F0 #F07751 #7AF051 #51CAF0
square
#C751F0 #F07751 #7AF051 #51CAF0
split-complementary
#C751F0 #CAF051 #51F077
monochromatic
#8C10B7 #B519EB #C751F0 #D989F5 #EBC2FA

Accessibility & contrast

On white

3.58
#C751F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#C751F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751F0
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751F0#FFFFFF#000000##000000
##C751F01.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#518BEC
Tritanopia (blue-blind)
#C46F9A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c751f0;
/* rgb */ color: rgb(199, 81, 240);
/* oklch */ color: oklch(65.4% 0.240 316.1);
Tailwind
colors: {
  custom: {
    50: '#dc8af6',
    500: '#c751f0',
    950: '#000000',
  },
}
SCSS
$custom: #c751f0;
$custom-light: #dc8af6;
$custom-dark: #000000;
JSON
{
  "hex": "#c751f0",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 240
  },
  "hsl": {
    "h": 284.528,
    "s": 84.127,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65446,
    "c": 0.24001,
    "h": 316.1
  },
  "luminance": 0.24318
}

Semantic roles & 50–950 ramp

primary
#C751F0
secondary
#C1EBB2
accent
#E1053E
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#150C17
muted
#847D85

Preview Lab

Preview with #C751F0

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

Preview Lab → · Contrast checker → · Palette generator →

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