#F791EA#F791EA

#F791EA is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.2% C 0.164 H 331.8°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#F791EA
RGBrgb(247, 145, 234)
HSLhsl(308, 86%, 77%)
HSVhsv(308, 41%, 97%)
CMYKcmyk(0%, 41.3%, 5.3%, 3.1%)
CIE-LABlab(73.53, 50.83, -28.61)
CIE-LCHlch(73.53, 58.33, 330.63°)
OKLaboklab(79.23% 0.1444 -0.0775)
OKLCHoklch(79.23% 0.164 331.8)
XYZxyz(63.3339, 45.9688, 83.3628)
Luminance0.4597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F791EA #91F79E
analogous
#D191F7 #F791EA #F791B7
triadic
#F791EA #EAF791 #91EAF7
tetradic
#F791EA #F7D191 #91F79E #91B7F7
square
#F791EA #F7D191 #91F79E #91B7F7
split-complementary
#F791EA #B7F791 #91F7D1
monochromatic
#EF1FD4 #F358DF #F791EA #FBCAF5 #FDE2FA

Accessibility & contrast

On white

2.06
#F791EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#F791EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F791EA
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F791EA#FFFFFF#000000##000000
##F791EA1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACED
Deuteranopia (green-blind)
#A9BAE7
Tritanopia (blue-blind)
#FF98B3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f791ea;
/* rgb */ color: rgb(247, 145, 234);
/* oklch */ color: oklch(79.2% 0.164 331.8);
Tailwind
colors: {
  custom: {
    50: '#fbb3f1',
    500: '#f791ea',
    950: '#000000',
  },
}
SCSS
$custom: #f791ea;
$custom-light: #fbb3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f791ea",
  "rgb": {
    "r": 247,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 307.647,
    "s": 86.441,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79229,
    "c": 0.16391,
    "h": 331.8
  },
  "luminance": 0.45965
}

Semantic roles & 50–950 ramp

primary
#F791EA
secondary
#D6F5DA
accent
#E31F03
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F791EA

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

Preview Lab → · Contrast checker → · Palette generator →

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