#F798FF#F798FF

#F798FF is a light, vivid purple. Relative luminance 0.495; OKLCH L 81.2% C 0.171 H 324.2°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#F798FF
RGBrgb(247, 152, 255)
HSLhsl(295, 100%, 80%)
HSVhsv(295, 40%, 100%)
CMYKcmyk(3.1%, 40.4%, 0%, 0%)
CIE-LABlab(75.73, 50.99, -36.62)
CIE-LCHlch(75.73, 62.77, 324.32°)
OKLaboklab(81.15% 0.139 -0.1003)
OKLCHoklch(81.15% 0.171 324.2)
XYZxyz(67.6343, 49.4534, 100.5712)
Luminance0.4945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798FF #A0FF98
analogous
#C498FF #F798FF #FF98D3
triadic
#F798FF #FFF798 #98FFF7
tetradic
#F798FF #FFC498 #A0FF98 #98D3FF
square
#F798FF #FFC498 #A0FF98 #98D3FF
split-complementary
#F798FF #D3FF98 #98FFC4
monochromatic
#ED1EFF #F25BFF #F798FF #FCD5FF #FDE0FF

Accessibility & contrast

On white

1.93
#F798FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#F798FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798FF
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798FF#FFFFFF#000000##000000
##F798FF1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#A7BFFC
Tritanopia (blue-blind)
#FBA3C0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #f798ff;
/* rgb */ color: rgb(247, 152, 255);
/* oklch */ color: oklch(81.2% 0.171 324.2);
Tailwind
colors: {
  custom: {
    50: '#fbb8ff',
    500: '#f798ff',
    950: '#000000',
  },
}
SCSS
$custom: #f798ff;
$custom-light: #fbb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f798ff",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 295.34,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.8115,
    "c": 0.17138,
    "h": 324.2
  },
  "luminance": 0.49451
}

Semantic roles & 50–950 ramp

primary
#F798FF
secondary
#D6F7D4
accent
#E60012
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181218
muted
#868186

Preview Lab

Preview with #F798FF

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

Preview Lab → · Contrast checker → · Palette generator →

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