#C751FC#C751FC

#C751FC is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.2% C 0.251 H 313.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#C751FC
RGBrgb(199, 81, 252)
HSLhsl(281, 97%, 65%)
HSVhsv(281, 68%, 99%)
CMYKcmyk(21%, 67.9%, 0%, 1.2%)
CIE-LABlab(57.13, 71.76, -64.75)
CIE-LCHlch(57.13, 96.65, 317.94°)
OKLaboklab(66.2% 0.1722 -0.1825)
OKLCHoklch(66.2% 0.251 313.3)
XYZxyz(44.0632, 25.0566, 94.5919)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751FC #86FC51
analogous
#7251FC #C751FC #FC51DB
triadic
#C751FC #FCC751 #51FCC7
tetradic
#C751FC #FC7251 #86FC51 #51DBFC
square
#C751FC #FC7251 #86FC51 #51DBFC
split-complementary
#C751FC #DBFC51 #51FC72
monochromatic
#9004CF #B415FB #C751FC #DA8DFD #EEC9FE

Accessibility & contrast

On white

3.49
#C751FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#C751FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751FC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751FC#FFFFFF#000000##000000
##C751FC1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#C274A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c751fc;
/* rgb */ color: rgb(199, 81, 252);
/* oklch */ color: oklch(66.2% 0.251 313.3);
Tailwind
colors: {
  custom: {
    50: '#dc8afe',
    500: '#c751fc',
    950: '#000000',
  },
}
SCSS
$custom: #c751fc;
$custom-light: #dc8afe;
$custom-dark: #000000;
JSON
{
  "hex": "#c751fc",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 252
  },
  "hsl": {
    "h": 281.404,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66196,
    "c": 0.25092,
    "h": 313.3
  },
  "luminance": 0.25055
}

Semantic roles & 50–950 ramp

primary
#C751FC
secondary
#C9F1B8
accent
#E60047
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #C751FC

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

Preview Lab → · Contrast checker → · Palette generator →

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