#F398F2#F398F2

#F398F2 is a light, vivid purple. Relative luminance 0.479; OKLCH L 80.2% C 0.157 H 327.3°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#F398F2
RGBrgb(243, 152, 242)
HSLhsl(301, 79%, 77%)
HSVhsv(301, 37%, 95%)
CMYKcmyk(0%, 37.4%, 0.4%, 4.7%)
CIE-LABlab(74.78, 47.46, -31.08)
CIE-LCHlch(74.78, 56.73, 326.78°)
OKLaboklab(80.17% 0.1318 -0.0846)
OKLCHoklch(80.17% 0.157 327.3)
XYZxyz(64.2162, 47.9248, 89.8550)
Luminance0.4792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F398F2 #98F399
analogous
#C698F3 #F398F2 #F398C5
triadic
#F398F2 #F2F398 #98F2F3
tetradic
#F398F2 #F3C698 #98F399 #98C5F3
square
#F398F2 #F3C698 #98F399 #98C5F3
split-complementary
#F398F2 #C5F398 #98F3C6
monochromatic
#E62AE4 #ED61EB #F398F2 #F9CFF9 #FCE4FC

Accessibility & contrast

On white

1.98
#F398F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#F398F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F398F2
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F398F2#FFFFFF#000000##000000
##F398F21.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B1F5
Deuteranopia (green-blind)
#A9BCEF
Tritanopia (blue-blind)
#F8A0BA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #f398f2;
/* rgb */ color: rgb(243, 152, 242);
/* oklch */ color: oklch(80.2% 0.157 327.3);
Tailwind
colors: {
  custom: {
    50: '#f8b8f6',
    500: '#f398f2',
    950: '#000000',
  },
}
SCSS
$custom: #f398f2;
$custom-light: #f8b8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f398f2",
  "rgb": {
    "r": 243,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 300.659,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.80169,
    "c": 0.15659,
    "h": 327.3
  },
  "luminance": 0.47922
}

Semantic roles & 50–950 ramp

primary
#F398F2
secondary
#D7F4D8
accent
#DB0C0A
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #F398F2

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

Preview Lab → · Contrast checker → · Palette generator →

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