#F98AEC#F98AEC

#F98AEC is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.5% C 0.179 H 331.6°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#F98AEC
RGBrgb(249, 138, 236)
HSLhsl(307, 90%, 76%)
HSVhsv(307, 45%, 98%)
CMYKcmyk(0%, 44.6%, 5.2%, 2.4%)
CIE-LABlab(72.48, 55.25, -31.29)
CIE-LCHlch(72.48, 63.50, 330.47°)
OKLaboklab(78.52% 0.157 -0.085)
OKLCHoklch(78.52% 0.179 331.6)
XYZxyz(63.2952, 44.3764, 84.5722)
Luminance0.4437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F98AEC #8AF997
analogous
#CE8AF9 #F98AEC #F98AB4
triadic
#F98AEC #ECF98A #8AECF9
tetradic
#F98AEC #F9CE8A #8AF997 #8AB4F9
square
#F98AEC #F9CE8A #8AF997 #8AB4F9
split-complementary
#F98AEC #B4F98A #8AF9CE
monochromatic
#F316D9 #F650E3 #F98AEC #FCC4F5 #FEE2FA

Accessibility & contrast

On white

2.13
#F98AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#F98AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F98AEC
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F98AEC#FFFFFF#000000##000000
##F98AEC1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8EF
Deuteranopia (green-blind)
#A5B7E9
Tritanopia (blue-blind)
#FF92B0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f98aec;
/* rgb */ color: rgb(249, 138, 236);
/* oklch */ color: oklch(78.5% 0.179 331.6);
Tailwind
colors: {
  custom: {
    50: '#fdaff2',
    500: '#f98aec',
    950: '#000000',
  },
}
SCSS
$custom: #f98aec;
$custom-light: #fdaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#f98aec",
  "rgb": {
    "r": 249,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 307.027,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78523,
    "c": 0.17855,
    "h": 331.6
  },
  "luminance": 0.44373
}

Semantic roles & 50–950 ramp

primary
#F98AEC
secondary
#D5F6D9
accent
#E61B00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F98AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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