#F97EFE#F97EFE

#F97EFE is a light, highly saturated purple. Relative luminance 0.422; OKLCH L 77.7% C 0.213 H 325.9°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#F97EFE
RGBrgb(249, 126, 254)
HSLhsl(298, 98%, 75%)
HSVhsv(298, 50%, 100%)
CMYKcmyk(2%, 50.4%, 0%, 0.4%)
CIE-LABlab(71.02, 64.09, -43.39)
CIE-LCHlch(71.02, 77.40, 325.90°)
OKLaboklab(77.69% 0.1764 -0.1194)
OKLCHoklch(77.69% 0.213 325.9)
XYZxyz(64.4158, 42.2206, 98.5031)
Luminance0.4222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97EFE #83FE7E
analogous
#B97EFE #F97EFE #FE7EC3
triadic
#F97EFE #FEF97E #7EFEF9
tetradic
#F97EFE #FEB97E #83FE7E #7EC3FE
square
#F97EFE #FEB97E #83FE7E #7EC3FE
split-complementary
#F97EFE #C3FE7E #7EFEB9
monochromatic
#F305FD #F641FE #F97EFE #FCBBFE #FEE1FF

Accessibility & contrast

On white

2.22
#F97EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#F97EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97EFE
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97EFE#FFFFFF#000000##000000
##F97EFE1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#FF8DB3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f97efe;
/* rgb */ color: rgb(249, 126, 254);
/* oklch */ color: oklch(77.7% 0.213 325.9);
Tailwind
colors: {
  custom: {
    50: '#fea8ff',
    500: '#f97efe',
    950: '#000000',
  },
}
SCSS
$custom: #f97efe;
$custom-light: #fea8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f97efe",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 297.656,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77685,
    "c": 0.21304,
    "h": 325.9
  },
  "luminance": 0.42217
}

Semantic roles & 50–950 ramp

primary
#F97EFE
secondary
#D5F7D4
accent
#E60009
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F97EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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