#C751F2#C751F2

#C751F2 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.6% C 0.242 H 315.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#C751F2
RGBrgb(199, 81, 242)
HSLhsl(284, 86%, 63%)
HSVhsv(284, 67%, 95%)
CMYKcmyk(17.8%, 66.5%, 0%, 5.1%)
CIE-LABlab(56.52, 69.80, -60.16)
CIE-LCHlch(56.52, 92.15, 319.24°)
OKLaboklab(65.57% 0.1729 -0.1691)
OKLCHoklch(65.57% 0.242 315.6)
XYZxyz(42.5201, 24.4393, 86.4646)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751F2 #7CF251
analogous
#7651F2 #C751F2 #F251CC
triadic
#C751F2 #F2C751 #51F2C7
tetradic
#C751F2 #F27651 #7CF251 #51CCF2
square
#C751F2 #F27651 #7CF251 #51CCF2
split-complementary
#C751F2 #CCF251 #51F276
monochromatic
#8D0EBB #B518EE #C751F2 #D98AF6 #ECC3FB

Accessibility & contrast

On white

3.57
#C751F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#C751F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751F2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751F2#FFFFFF#000000##000000
##C751F21.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#4F8BEE
Tritanopia (blue-blind)
#C4709B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c751f2;
/* rgb */ color: rgb(199, 81, 242);
/* oklch */ color: oklch(65.6% 0.242 315.6);
Tailwind
colors: {
  custom: {
    50: '#dc8af7',
    500: '#c751f2',
    950: '#000000',
  },
}
SCSS
$custom: #c751f2;
$custom-light: #dc8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#c751f2",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 283.975,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65568,
    "c": 0.24183,
    "h": 315.6
  },
  "luminance": 0.24438
}

Semantic roles & 50–950 ramp

primary
#C751F2
secondary
#C2ECB3
accent
#E3033F
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#150C17
muted
#847D85

Preview Lab

Preview with #C751F2

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

Preview Lab → · Contrast checker → · Palette generator →

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