#F798ED#F798ED

#F798ED is a light, vivid purple. Relative luminance 0.483; OKLCH L 80.4% C 0.155 H 330.8°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#F798ED
RGBrgb(247, 152, 237)
HSLhsl(306, 86%, 78%)
HSVhsv(306, 38%, 97%)
CMYKcmyk(0%, 38.5%, 4%, 3.1%)
CIE-LABlab(75.04, 47.79, -27.92)
CIE-LCHlch(75.04, 55.35, 329.71°)
OKLaboklab(80.41% 0.135 -0.0756)
OKLCHoklch(80.41% 0.155 330.8)
XYZxyz(64.8713, 48.3482, 86.0195)
Luminance0.4834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798ED #98F7A2
analogous
#D198F7 #F798ED #F798BD
triadic
#F798ED #EDF798 #98EDF7
tetradic
#F798ED #F7D198 #98F7A2 #98BDF7
square
#F798ED #F7D198 #98F7A2 #98BDF7
split-complementary
#F798ED #BDF798 #98F7D1
monochromatic
#EE26D9 #F35FE3 #F798ED #FBD1F7 #FDE3FA

Accessibility & contrast

On white

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

On black

10.67
#F798ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798ED
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798ED#FFFFFF#000000##000000
##F798ED1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B1F0
Deuteranopia (green-blind)
#ADBDEA
Tritanopia (blue-blind)
#FE9FB8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f798ed;
/* rgb */ color: rgb(247, 152, 237);
/* oklch */ color: oklch(80.4% 0.155 330.8);
Tailwind
colors: {
  custom: {
    50: '#fbb8f3',
    500: '#f798ed',
    950: '#000000',
  },
}
SCSS
$custom: #f798ed;
$custom-light: #fbb8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f798ed",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 306.316,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.80407,
    "c": 0.15475,
    "h": 330.8
  },
  "luminance": 0.48345
}

Semantic roles & 50–950 ramp

primary
#F798ED
secondary
#D6F5D9
accent
#E21B03
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F798ED

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

Preview Lab → · Contrast checker → · Palette generator →

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