#F398FC#F398FC

#F398FC is a light, vivid purple. Relative luminance 0.485; OKLCH L 80.6% C 0.166 H 323.7°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#F398FC
RGBrgb(243, 152, 252)
HSLhsl(295, 94%, 79%)
HSVhsv(295, 40%, 99%)
CMYKcmyk(3.6%, 39.7%, 0%, 1.2%)
CIE-LABlab(75.17, 49.27, -35.91)
CIE-LCHlch(75.17, 60.97, 323.92°)
OKLaboklab(80.59% 0.1339 -0.0983)
OKLCHoklch(80.59% 0.166 323.7)
XYZxyz(65.7593, 48.5420, 97.9822)
Luminance0.4854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F398FC #A1FC98
analogous
#C198FC #F398FC #FC98D3
triadic
#F398FC #FCF398 #98FCF3
tetradic
#F398FC #FCC198 #A1FC98 #98D3FC
square
#F398FC #FCC198 #A1FC98 #98D3FC
split-complementary
#F398FC #D3FC98 #98FCC1
monochromatic
#E521F9 #EC5DFA #F398FC #FAD3FE #FCE1FE

Accessibility & contrast

On white

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

On black

10.71
#F398FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F398FC
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F398FC#FFFFFF#000000##000000
##F398FC1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f398fc;
/* rgb */ color: rgb(243, 152, 252);
/* oklch */ color: oklch(80.6% 0.166 323.7);
Tailwind
colors: {
  custom: {
    50: '#f8b8fd',
    500: '#f398fc',
    950: '#000000',
  },
}
SCSS
$custom: #f398fc;
$custom-light: #f8b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f398fc",
  "rgb": {
    "r": 243,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 294.6,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.80588,
    "c": 0.16613,
    "h": 323.7
  },
  "luminance": 0.48539
}

Semantic roles & 50–950 ramp

primary
#F398FC
secondary
#D8F6D5
accent
#E60015
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F398FC

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

Preview Lab → · Contrast checker → · Palette generator →

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