#C751FF#C751FF

#C751FF is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.4% C 0.254 H 312.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#C751FF
RGBrgb(199, 81, 255)
HSLhsl(281, 100%, 66%)
HSVhsv(281, 68%, 100%)
CMYKcmyk(22%, 68.2%, 0%, 0%)
CIE-LABlab(57.32, 72.35, -66.11)
CIE-LCHlch(57.32, 98.01, 317.58°)
OKLaboklab(66.39% 0.1719 -0.1865)
OKLCHoklch(66.39% 0.254 312.7)
XYZxyz(44.5424, 25.2482, 97.1154)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751FF #89FF51
analogous
#7051FF #C751FF #FF51E0
triadic
#C751FF #FFC751 #51FFC7
tetradic
#C751FF #FF7051 #89FF51 #51E0FF
square
#C751FF #FF7051 #89FF51 #51E0FF
split-complementary
#C751FF #E0FF51 #51FF70
monochromatic
#9100D6 #B314FF #C751FF #DB8EFF #EECBFF

Accessibility & contrast

On white

3.47
#C751FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#C751FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751FF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751FF#FFFFFF#000000##000000
##C751FF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#418CFB
Tritanopia (blue-blind)
#C175A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c751ff;
/* rgb */ color: rgb(199, 81, 255);
/* oklch */ color: oklch(66.4% 0.254 312.7);
Tailwind
colors: {
  custom: {
    50: '#dd8bff',
    500: '#c751ff',
    950: '#000000',
  },
}
SCSS
$custom: #c751ff;
$custom-light: #dd8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#c751ff",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 280.69,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66388,
    "c": 0.25366,
    "h": 312.7
  },
  "luminance": 0.25247
}

Semantic roles & 50–950 ramp

primary
#C751FF
secondary
#CCF3B9
accent
#E6004A
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #C751FF

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

Preview Lab → · Contrast checker → · Palette generator →

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