#F798EB#F798EB

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

Color values

HEX#F798EB
RGBrgb(247, 152, 235)
HSLhsl(308, 86%, 78%)
HSVhsv(308, 38%, 97%)
CMYKcmyk(0%, 38.5%, 4.9%, 3.1%)
CIE-LABlab(74.97, 47.45, -26.94)
CIE-LCHlch(74.97, 54.56, 330.42°)
OKLaboklab(80.33% 0.1345 -0.0729)
OKLCHoklch(80.33% 0.153 331.6)
XYZxyz(64.5807, 48.2320, 84.4892)
Luminance0.4823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798EB #98F7A4
analogous
#D398F7 #F798EB #F798BB
triadic
#F798EB #EBF798 #98EBF7
tetradic
#F798EB #F7D398 #98F7A4 #98BBF7
square
#F798EB #F7D398 #98F7A4 #98BBF7
split-complementary
#F798EB #BBF798 #98F7D3
monochromatic
#EE26D5 #F35FE0 #F798EB #FBD1F6 #FDE3F9

Accessibility & contrast

On white

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

On black

10.65
#F798EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798EB
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798EB#FFFFFF#000000##000000
##F798EB1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0EE
Deuteranopia (green-blind)
#AEBDE8
Tritanopia (blue-blind)
#FE9EB7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f798eb;
/* rgb */ color: rgb(247, 152, 235);
/* oklch */ color: oklch(80.3% 0.153 331.6);
Tailwind
colors: {
  custom: {
    50: '#fbb8f1',
    500: '#f798eb',
    950: '#000000',
  },
}
SCSS
$custom: #f798eb;
$custom-light: #fbb8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f798eb",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 307.579,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.80328,
    "c": 0.15301,
    "h": 331.6
  },
  "luminance": 0.48229
}

Semantic roles & 50–950 ramp

primary
#F798EB
secondary
#D6F5DA
accent
#E22003
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F798EB

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

Preview Lab → · Contrast checker → · Palette generator →

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