#F97EFF#F97EFF

#F97EFF is a light, highly saturated purple. Relative luminance 0.423; OKLCH L 77.7% C 0.214 H 325.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#F97EFF
RGBrgb(249, 126, 255)
HSLhsl(297, 100%, 75%)
HSVhsv(297, 51%, 100%)
CMYKcmyk(2.4%, 50.6%, 0%, 0%)
CIE-LABlab(71.07, 64.27, -43.87)
CIE-LCHlch(71.07, 77.81, 325.68°)
OKLaboklab(77.73% 0.1766 -0.1208)
OKLCHoklch(77.73% 0.214 325.6)
XYZxyz(64.5764, 42.2849, 99.3487)
Luminance0.4228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97EFF #84FF7E
analogous
#B87EFF #F97EFF #FF7EC5
triadic
#F97EFF #FFF97E #7EFFF9
tetradic
#F97EFF #FFB87E #84FF7E #7EC5FF
square
#F97EFF #FFB87E #84FF7E #7EC5FF
split-complementary
#F97EFF #C5FF7E #7EFFB8
monochromatic
#F304FF #F641FF #F97EFF #FCBBFF #FEE0FF

Accessibility & contrast

On white

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

On black

9.46
#F97EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97EFF
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97EFF#FFFFFF#000000##000000
##F97EFF1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA4FF
Deuteranopia (green-blind)
#95B3FB
Tritanopia (blue-blind)
#FE8DB3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f97eff;
/* rgb */ color: rgb(249, 126, 255);
/* oklch */ color: oklch(77.7% 0.214 325.6);
Tailwind
colors: {
  custom: {
    50: '#fea8ff',
    500: '#f97eff',
    950: '#000000',
  },
}
SCSS
$custom: #f97eff;
$custom-light: #fea8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f97eff",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 297.209,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77732,
    "c": 0.21392,
    "h": 325.6
  },
  "luminance": 0.42281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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