#C751F6#C751F6

#C751F6 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.8% C 0.245 H 314.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#C751F6
RGBrgb(199, 81, 246)
HSLhsl(283, 90%, 64%)
HSVhsv(283, 67%, 96%)
CMYKcmyk(19.1%, 67.1%, 0%, 3.5%)
CIE-LABlab(56.76, 70.58, -62.01)
CIE-LCHlch(56.76, 93.95, 318.70°)
OKLaboklab(65.82% 0.1726 -0.1745)
OKLCHoklch(65.82% 0.245 314.7)
XYZxyz(43.1274, 24.6823, 89.6633)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751F6 #80F651
analogous
#7551F6 #C751F6 #F651D3
triadic
#C751F6 #F6C751 #51F6C7
tetradic
#C751F6 #F67551 #80F651 #51D3F6
square
#C751F6 #F67551 #80F651 #51D3F6
split-complementary
#C751F6 #D3F651 #51F675
monochromatic
#8E0AC3 #B417F3 #C751F6 #DA8BF9 #ECC5FC

Accessibility & contrast

On white

3.54
#C751F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#C751F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751F6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751F6#FFFFFF#000000##000000
##C751F61.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c751f6;
/* rgb */ color: rgb(199, 81, 246);
/* oklch */ color: oklch(65.8% 0.245 314.7);
Tailwind
colors: {
  custom: {
    50: '#dc8afa',
    500: '#c751f6',
    950: '#000000',
  },
}
SCSS
$custom: #c751f6;
$custom-light: #dc8afa;
$custom-dark: #000000;
JSON
{
  "hex": "#c751f6",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 246
  },
  "hsl": {
    "h": 282.909,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65817,
    "c": 0.24546,
    "h": 314.7
  },
  "luminance": 0.24681
}

Semantic roles & 50–950 ramp

primary
#C751F6
secondary
#C5EEB5
accent
#E60041
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #C751F6

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

Preview Lab → · Contrast checker → · Palette generator →

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