#F97DFA#F97DFA

#F97DFA is a light, highly saturated purple. Relative luminance 0.417; OKLCH L 77.4% C 0.211 H 327.1°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#F97DFA
RGBrgb(249, 125, 250)
HSLhsl(300, 93%, 74%)
HSVhsv(300, 50%, 98%)
CMYKcmyk(0.4%, 50%, 0%, 2%)
CIE-LABlab(70.67, 63.87, -41.76)
CIE-LCHlch(70.67, 76.31, 326.82°)
OKLaboklab(77.37% 0.1772 -0.1147)
OKLCHoklch(77.37% 0.211 327.1)
XYZxyz(63.6547, 41.7126, 95.1224)
Luminance0.4171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97DFA #7EFA7D
analogous
#BA7DFA #F97DFA #FA7DBC
triadic
#F97DFA #FAF97D #7DFAF9
tetradic
#F97DFA #FABA7D #7EFA7D #7DBCFA
square
#F97DFA #FABA7D #7EFA7D #7DBCFA
split-complementary
#F97DFA #BCFA7D #7DFABA
monochromatic
#F109F3 #F642F8 #F97DFA #FCB8FC #FEE2FE

Accessibility & contrast

On white

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

On black

9.34
#F97DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97DFA
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97DFA#FFFFFF#000000##000000
##F97DFA1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FE
Deuteranopia (green-blind)
#96B3F6
Tritanopia (blue-blind)
#FF8BB0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f97dfa;
/* rgb */ color: rgb(249, 125, 250);
/* oklch */ color: oklch(77.4% 0.211 327.1);
Tailwind
colors: {
  custom: {
    50: '#fea7fc',
    500: '#f97dfa',
    950: '#000000',
  },
}
SCSS
$custom: #f97dfa;
$custom-light: #fea7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f97dfa",
  "rgb": {
    "r": 249,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 299.52,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77369,
    "c": 0.21107,
    "h": 327.1
  },
  "luminance": 0.41709
}

Semantic roles & 50–950 ramp

primary
#F97DFA
secondary
#D5F6D5
accent
#E60002
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F97DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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