#F798EE#F798EE

#F798EE is a light, vivid purple. Relative luminance 0.484; OKLCH L 80.4% C 0.156 H 330.4°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#F798EE
RGBrgb(247, 152, 238)
HSLhsl(306, 86%, 78%)
HSVhsv(306, 38%, 97%)
CMYKcmyk(0%, 38.5%, 3.6%, 3.1%)
CIE-LABlab(75.08, 47.97, -28.40)
CIE-LCHlch(75.08, 55.75, 329.37°)
OKLaboklab(80.45% 0.1353 -0.077)
OKLCHoklch(80.45% 0.156 330.4)
XYZxyz(65.0178, 48.4068, 86.7911)
Luminance0.4840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798EE #98F7A1
analogous
#D098F7 #F798EE #F798BE
triadic
#F798EE #EEF798 #98EEF7
tetradic
#F798EE #F7D098 #98F7A1 #98BEF7
square
#F798EE #F7D098 #98F7A1 #98BEF7
split-complementary
#F798EE #BEF798 #98F7D0
monochromatic
#EE26DB #F35FE5 #F798EE #FBD1F7 #FDE3FA

Accessibility & contrast

On white

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

On black

10.68
#F798EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798EE
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798EE#FFFFFF#000000##000000
##F798EE1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B1F1
Deuteranopia (green-blind)
#ADBEEB
Tritanopia (blue-blind)
#FE9FB8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f798ee;
/* rgb */ color: rgb(247, 152, 238);
/* oklch */ color: oklch(80.4% 0.156 330.4);
Tailwind
colors: {
  custom: {
    50: '#fbb8f3',
    500: '#f798ee',
    950: '#000000',
  },
}
SCSS
$custom: #f798ee;
$custom-light: #fbb8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f798ee",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 305.684,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.80446,
    "c": 0.15564,
    "h": 330.4
  },
  "luminance": 0.48404
}

Semantic roles & 50–950 ramp

primary
#F798EE
secondary
#D6F5D9
accent
#E21903
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F798EE

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

Preview Lab → · Contrast checker → · Palette generator →

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