#F398FB#F398FB

#F398FB is a light, vivid purple. Relative luminance 0.485; OKLCH L 80.5% C 0.165 H 324.1°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#F398FB
RGBrgb(243, 152, 251)
HSLhsl(295, 93%, 79%)
HSVhsv(295, 39%, 98%)
CMYKcmyk(3.2%, 39.4%, 0%, 1.6%)
CIE-LABlab(75.13, 49.09, -35.43)
CIE-LCHlch(75.13, 60.54, 324.18°)
OKLaboklab(80.55% 0.1337 -0.0969)
OKLCHoklch(80.55% 0.165 324.1)
XYZxyz(65.6012, 48.4788, 97.1499)
Luminance0.4848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F398FB #A0FB98
analogous
#C298FB #F398FB #FB98D2
triadic
#F398FB #FBF398 #98FBF3
tetradic
#F398FB #FBC298 #A0FB98 #98D2FB
square
#F398FB #FBC298 #A0FB98 #98D2FB
split-complementary
#F398FB #D2FB98 #98FBC2
monochromatic
#E522F6 #EC5DF9 #F398FB #FAD3FD #FCE2FE

Accessibility & contrast

On white

1.96
#F398FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#F398FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F398FB
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F398FB#FFFFFF#000000##000000
##F398FB1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FF
Deuteranopia (green-blind)
#A6BDF8
Tritanopia (blue-blind)
#F7A3BE
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f398fb;
/* rgb */ color: rgb(243, 152, 251);
/* oklch */ color: oklch(80.5% 0.165 324.1);
Tailwind
colors: {
  custom: {
    50: '#f8b8fd',
    500: '#f398fb',
    950: '#000000',
  },
}
SCSS
$custom: #f398fb;
$custom-light: #f8b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f398fb",
  "rgb": {
    "r": 243,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 295.152,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.80545,
    "c": 0.16517,
    "h": 324.1
  },
  "luminance": 0.48476
}

Semantic roles & 50–950 ramp

primary
#F398FB
secondary
#D8F6D5
accent
#E60013
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F398FB

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

Preview Lab → · Contrast checker → · Palette generator →

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