#F751EC#F751EC

#F751EC is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.6% C 0.258 H 330.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#F751EC
RGBrgb(247, 81, 236)
HSLhsl(304, 91%, 64%)
HSVhsv(304, 67%, 97%)
CMYKcmyk(0%, 67.2%, 4.5%, 3.1%)
CIE-LABlab(63.11, 79.27, -45.93)
CIE-LCHlch(63.11, 91.61, 329.91°)
OKLaboklab(71.58% 0.2254 -0.1264)
OKLCHoklch(71.58% 0.258 330.7)
XYZxyz(56.4403, 31.7194, 82.4904)
Luminance0.3171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F751EC #51F75C
analogous
#AF51F7 #F751EC #F75199
triadic
#F751EC #ECF751 #51ECF7
tetradic
#F751EC #F7AF51 #51F75C #5199F7
square
#F751EC #F7AF51 #51F75C #5199F7
split-complementary
#F751EC #99F751 #51F7AF
monochromatic
#C509B8 #F416E6 #F751EC #FA8CF2 #FCC6F9

Accessibility & contrast

On white

2.86
#F751EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#F751EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F751EC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F751EC#FFFFFF#000000##000000
##F751EC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF0
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#FF6498
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f751ec;
/* rgb */ color: rgb(247, 81, 236);
/* oklch */ color: oklch(71.6% 0.258 330.7);
Tailwind
colors: {
  custom: {
    50: '#fe8ff2',
    500: '#f751ec',
    950: '#000000',
  },
}
SCSS
$custom: #f751ec;
$custom-light: #fe8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#f751ec",
  "rgb": {
    "r": 247,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 303.976,
    "s": 91.209,
    "l": 64.314
  },
  "oklch": {
    "l": 0.71584,
    "c": 0.2584,
    "h": 330.7
  },
  "luminance": 0.31715
}

Semantic roles & 50–950 ramp

primary
#F751EC
secondary
#B5EFB9
accent
#E60F00
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D17
muted
#867E85

Preview Lab

Preview with #F751EC

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

Preview Lab → · Contrast checker → · Palette generator →

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