#F97EF5#F97EF5

#F97EF5 is a light, highly saturated purple. Relative luminance 0.417; OKLCH L 77.3% C 0.205 H 328.6°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#F97EF5
RGBrgb(249, 126, 245)
HSLhsl(302, 91%, 74%)
HSVhsv(302, 49%, 98%)
CMYKcmyk(0%, 49.4%, 1.6%, 2.4%)
CIE-LABlab(70.63, 62.55, -39.08)
CIE-LCHlch(70.63, 73.75, 328.00°)
OKLaboklab(77.27% 0.1751 -0.1071)
OKLCHoklch(77.27% 0.205 328.6)
XYZxyz(63.0083, 41.6576, 91.0904)
Luminance0.4165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97EF5 #7EF982
analogous
#BF7EF9 #F97EF5 #F97EB7
triadic
#F97EF5 #F5F97E #7EF5F9
tetradic
#F97EF5 #F9BF7E #7EF982 #7EB7F9
square
#F97EF5 #F9BF7E #7EF982 #7EB7F9
split-complementary
#F97EF5 #B7F97E #7EF9BF
monochromatic
#F10BEA #F644F0 #F97EF5 #FCB8FA #FEE2FD

Accessibility & contrast

On white

2.25
#F97EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#F97EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97EF5
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97EF5#FFFFFF#000000##000000
##F97EF51.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A2F9
Deuteranopia (green-blind)
#99B3F1
Tritanopia (blue-blind)
#FF8AAF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f97ef5;
/* rgb */ color: rgb(249, 126, 245);
/* oklch */ color: oklch(77.3% 0.205 328.6);
Tailwind
colors: {
  custom: {
    50: '#fea8f9',
    500: '#f97ef5',
    950: '#000000',
  },
}
SCSS
$custom: #f97ef5;
$custom-light: #fea8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f97ef5",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 301.951,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77271,
    "c": 0.20524,
    "h": 328.6
  },
  "luminance": 0.41654
}

Semantic roles & 50–950 ramp

primary
#F97EF5
secondary
#D5F6D6
accent
#E60700
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F97EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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