#F398EB#F398EB

#F398EB is a light, vivid purple. Relative luminance 0.475; OKLCH L 79.9% C 0.150 H 330.0°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#F398EB
RGBrgb(243, 152, 235)
HSLhsl(305, 79%, 77%)
HSVhsv(305, 37%, 95%)
CMYKcmyk(0%, 37.4%, 3.3%, 4.7%)
CIE-LABlab(74.52, 46.22, -27.68)
CIE-LCHlch(74.52, 53.87, 329.09°)
OKLaboklab(79.89% 0.1301 -0.075)
OKLCHoklch(79.89% 0.15 330)
XYZxyz(63.1849, 47.5123, 84.4237)
Luminance0.4751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F398EB #98F3A0
analogous
#CE98F3 #F398EB #F398BD
triadic
#F398EB #EBF398 #98EBF3
tetradic
#F398EB #F3CE98 #98F3A0 #98BDF3
square
#F398EB #F3CE98 #98F3A0 #98BDF3
split-complementary
#F398EB #BDF398 #98F3CE
monochromatic
#E62AD6 #ED61E0 #F398EB #F9CFF6 #FCE4FA

Accessibility & contrast

On white

2.00
#F398EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#F398EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F398EB
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F398EB#FFFFFF#000000##000000
##F398EB1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0EE
Deuteranopia (green-blind)
#ACBCE8
Tritanopia (blue-blind)
#FA9FB7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f398eb;
/* rgb */ color: rgb(243, 152, 235);
/* oklch */ color: oklch(79.9% 0.150 330.0);
Tailwind
colors: {
  custom: {
    50: '#f8b8f1',
    500: '#f398eb',
    950: '#000000',
  },
}
SCSS
$custom: #f398eb;
$custom-light: #f8b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f398eb",
  "rgb": {
    "r": 243,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 305.275,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79886,
    "c": 0.15017,
    "h": 330
  },
  "luminance": 0.47509
}

Semantic roles & 50–950 ramp

primary
#F398EB
secondary
#D7F4DA
accent
#DB1C0A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F398EB

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

Preview Lab → · Contrast checker → · Palette generator →

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