#F792EC#F792EC

#F792EC is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.5% C 0.164 H 331.0°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#F792EC
RGBrgb(247, 146, 236)
HSLhsl(307, 86%, 77%)
HSVhsv(307, 41%, 97%)
CMYKcmyk(0%, 40.9%, 4.5%, 3.1%)
CIE-LABlab(73.80, 50.67, -29.28)
CIE-LCHlch(73.80, 58.52, 329.98°)
OKLaboklab(79.46% 0.1435 -0.0794)
OKLCHoklch(79.46% 0.164 331)
XYZxyz(63.7763, 46.3914, 84.9357)
Luminance0.4639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F792EC #92F79D
analogous
#D092F7 #F792EC #F792B9
triadic
#F792EC #ECF792 #92ECF7
tetradic
#F792EC #F7D092 #92F79D #92B9F7
square
#F792EC #F7D092 #92F79D #92B9F7
split-complementary
#F792EC #B9F792 #92F7D0
monochromatic
#EF20D8 #F359E2 #F792EC #FBCBF6 #FDE2FA

Accessibility & contrast

On white

2.04
#F792EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#F792EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F792EC
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F792EC#FFFFFF#000000##000000
##F792EC1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EADEF
Deuteranopia (green-blind)
#A9BAE9
Tritanopia (blue-blind)
#FF99B4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f792ec;
/* rgb */ color: rgb(247, 146, 236);
/* oklch */ color: oklch(79.5% 0.164 331.0);
Tailwind
colors: {
  custom: {
    50: '#fbb4f2',
    500: '#f792ec',
    950: '#000000',
  },
}
SCSS
$custom: #f792ec;
$custom-light: #fbb4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f792ec",
  "rgb": {
    "r": 247,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 306.535,
    "s": 86.325,
    "l": 77.059
  },
  "oklch": {
    "l": 0.79459,
    "c": 0.16396,
    "h": 331
  },
  "luminance": 0.46388
}

Semantic roles & 50–950 ramp

primary
#F792EC
secondary
#D6F5D9
accent
#E31B03
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F792EC

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

Preview Lab → · Contrast checker → · Palette generator →

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