#C751F7#C751F7

#C751F7 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.9% C 0.246 H 314.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#C751F7
RGBrgb(199, 81, 247)
HSLhsl(283, 91%, 64%)
HSVhsv(283, 67%, 97%)
CMYKcmyk(19.4%, 67.2%, 0%, 3.1%)
CIE-LABlab(56.82, 70.77, -62.47)
CIE-LCHlch(56.82, 94.40, 318.57°)
OKLaboklab(65.88% 0.1726 -0.1758)
OKLCHoklch(65.88% 0.246 314.5)
XYZxyz(43.2813, 24.7438, 90.4738)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751F7 #81F751
analogous
#7451F7 #C751F7 #F751D4
triadic
#C751F7 #F7C751 #51F7C7
tetradic
#C751F7 #F77451 #81F751 #51D4F7
square
#C751F7 #F77451 #81F751 #51D4F7
split-complementary
#C751F7 #D4F751 #51F774
monochromatic
#8E09C5 #B416F4 #C751F7 #DA8CFA #EDC6FC

Accessibility & contrast

On white

3.53
#C751F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#C751F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751F7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751F7#FFFFFF#000000##000000
##C751F71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FC
Deuteranopia (green-blind)
#4A8BF3
Tritanopia (blue-blind)
#C3729E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c751f7;
/* rgb */ color: rgb(199, 81, 247);
/* oklch */ color: oklch(65.9% 0.246 314.5);
Tailwind
colors: {
  custom: {
    50: '#dc8afb',
    500: '#c751f7',
    950: '#000000',
  },
}
SCSS
$custom: #c751f7;
$custom-light: #dc8afb;
$custom-dark: #000000;
JSON
{
  "hex": "#c751f7",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 247
  },
  "hsl": {
    "h": 282.651,
    "s": 91.209,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65879,
    "c": 0.24637,
    "h": 314.5
  },
  "luminance": 0.24742
}

Semantic roles & 50–950 ramp

primary
#C751F7
secondary
#C6EFB5
accent
#E60042
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #C751F7

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

Preview Lab → · Contrast checker → · Palette generator →

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