#C751FE#C751FE

#C751FE is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.3% C 0.253 H 312.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#C751FE
RGBrgb(199, 81, 254)
HSLhsl(281, 99%, 66%)
HSVhsv(281, 68%, 100%)
CMYKcmyk(21.7%, 68.1%, 0%, 0.4%)
CIE-LABlab(57.25, 72.15, -65.66)
CIE-LCHlch(57.25, 97.56, 317.70°)
OKLaboklab(66.32% 0.172 -0.1852)
OKLCHoklch(66.32% 0.253 312.9)
XYZxyz(44.3818, 25.1840, 96.2698)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751FE #88FE51
analogous
#7051FE #C751FE #FE51DE
triadic
#C751FE #FEC751 #51FEC7
tetradic
#C751FE #FE7051 #88FE51 #51DEFE
square
#C751FE #FE7051 #88FE51 #51DEFE
split-complementary
#C751FE #DEFE51 #51FE70
monochromatic
#9101D3 #B314FE #C751FE #DB8EFE #EECBFF

Accessibility & contrast

On white

3.48
#C751FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#C751FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751FE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751FE#FFFFFF#000000##000000
##C751FE1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#428CFA
Tritanopia (blue-blind)
#C175A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c751fe;
/* rgb */ color: rgb(199, 81, 254);
/* oklch */ color: oklch(66.3% 0.253 312.9);
Tailwind
colors: {
  custom: {
    50: '#dc8aff',
    500: '#c751fe',
    950: '#000000',
  },
}
SCSS
$custom: #c751fe;
$custom-light: #dc8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#c751fe",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 254
  },
  "hsl": {
    "h": 280.925,
    "s": 98.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66324,
    "c": 0.25275,
    "h": 312.9
  },
  "luminance": 0.25183
}

Semantic roles & 50–950 ramp

primary
#C751FE
secondary
#CBF2B9
accent
#E60049
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #C751FE

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

Preview Lab → · Contrast checker → · Palette generator →

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