#F398EA#F398EA

#F398EA is a light, vivid purple. Relative luminance 0.475; OKLCH L 79.8% C 0.149 H 330.5°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#F398EA
RGBrgb(243, 152, 234)
HSLhsl(306, 79%, 77%)
HSVhsv(306, 37%, 95%)
CMYKcmyk(0%, 37.4%, 3.7%, 4.7%)
CIE-LABlab(74.48, 46.05, -27.19)
CIE-LCHlch(74.48, 53.47, 329.44°)
OKLaboklab(79.85% 0.1299 -0.0736)
OKLCHoklch(79.85% 0.149 330.5)
XYZxyz(63.0408, 47.4546, 83.6650)
Luminance0.4745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F398EA #98F3A1
analogous
#CE98F3 #F398EA #F398BD
triadic
#F398EA #EAF398 #98EAF3
tetradic
#F398EA #F3CE98 #98F3A1 #98BDF3
square
#F398EA #F3CE98 #98F3A1 #98BDF3
split-complementary
#F398EA #BDF398 #98F3CE
monochromatic
#E62AD4 #ED61DF #F398EA #F9CFF5 #FCE4F9

Accessibility & contrast

On white

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

On black

10.49
#F398EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F398EA
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F398EA#FFFFFF#000000##000000
##F398EA1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95AFED
Deuteranopia (green-blind)
#ACBCE7
Tritanopia (blue-blind)
#FA9EB7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f398ea;
/* rgb */ color: rgb(243, 152, 234);
/* oklch */ color: oklch(79.8% 0.149 330.5);
Tailwind
colors: {
  custom: {
    50: '#f8b8f1',
    500: '#f398ea',
    950: '#000000',
  },
}
SCSS
$custom: #f398ea;
$custom-light: #f8b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f398ea",
  "rgb": {
    "r": 243,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 305.934,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79846,
    "c": 0.14929,
    "h": 330.5
  },
  "luminance": 0.47452
}

Semantic roles & 50–950 ramp

primary
#F398EA
secondary
#D7F4DA
accent
#DB1F0A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F398EA

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

Preview Lab → · Contrast checker → · Palette generator →

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