#F798EA#F798EA

#F798EA is a light, vivid purple. Relative luminance 0.482; OKLCH L 80.3% C 0.152 H 332.0°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#F798EA
RGBrgb(247, 152, 234)
HSLhsl(308, 86%, 78%)
HSVhsv(308, 38%, 97%)
CMYKcmyk(0%, 38.5%, 5.3%, 3.1%)
CIE-LABlab(74.93, 47.28, -26.45)
CIE-LCHlch(74.93, 54.17, 330.78°)
OKLaboklab(80.29% 0.1343 -0.0715)
OKLCHoklch(80.29% 0.152 332)
XYZxyz(64.4366, 48.1744, 83.7304)
Luminance0.4817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798EA #98F7A5
analogous
#D598F7 #F798EA #F798BA
triadic
#F798EA #EAF798 #98EAF7
tetradic
#F798EA #F7D598 #98F7A5 #98BAF7
square
#F798EA #F7D598 #98F7A5 #98BAF7
split-complementary
#F798EA #BAF798 #98F7D5
monochromatic
#EE26D3 #F35FDE #F798EA #FBD1F6 #FDE3F9

Accessibility & contrast

On white

1.97
#F798EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#F798EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798EA
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798EA#FFFFFF#000000##000000
##F798EA1.001.9710.6310.63
#FFFFFF1.971.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B0ED
Deuteranopia (green-blind)
#AEBDE7
Tritanopia (blue-blind)
#FF9EB7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #f798ea;
/* rgb */ color: rgb(247, 152, 234);
/* oklch */ color: oklch(80.3% 0.152 332.0);
Tailwind
colors: {
  custom: {
    50: '#fbb8f1',
    500: '#f798ea',
    950: '#000000',
  },
}
SCSS
$custom: #f798ea;
$custom-light: #fbb8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f798ea",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 308.211,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.80288,
    "c": 0.15213,
    "h": 332
  },
  "luminance": 0.48171
}

Semantic roles & 50–950 ramp

primary
#F798EA
secondary
#D6F5DA
accent
#E22203
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F798EA

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

Preview Lab → · Contrast checker → · Palette generator →

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