#F097FA#F097FA

#F097FA is a light, vivid purple. Relative luminance 0.476; OKLCH L 80.0% C 0.164 H 323.3°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#F097FA
RGBrgb(240, 151, 250)
HSLhsl(294, 91%, 79%)
HSVhsv(294, 40%, 98%)
CMYKcmyk(4%, 39.6%, 0%, 2%)
CIE-LABlab(74.55, 48.53, -35.81)
CIE-LCHlch(74.55, 60.31, 323.58°)
OKLaboklab(80.03% 0.1316 -0.0981)
OKLCHoklch(80.03% 0.164 323.3)
XYZxyz(64.2553, 47.5631, 96.2199)
Luminance0.4756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F097FA #A1FA97
analogous
#BE97FA #F097FA #FA97D2
triadic
#F097FA #FAF097 #97FAF0
tetradic
#F097FA #FABE97 #A1FA97 #97D2FA
square
#F097FA #FABE97 #A1FA97 #97D2FA
split-complementary
#F097FA #D2FA97 #97FABE
monochromatic
#DF22F4 #E85DF7 #F097FA #F8D1FD #FBE2FE

Accessibility & contrast

On white

2.00
#F097FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#F097FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F097FA
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F097FA#FFFFFF#000000##000000
##F097FA1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FE
Deuteranopia (green-blind)
#A3BBF7
Tritanopia (blue-blind)
#F3A2BD
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f097fa;
/* rgb */ color: rgb(240, 151, 250);
/* oklch */ color: oklch(80.0% 0.164 323.3);
Tailwind
colors: {
  custom: {
    50: '#f6b7fc',
    500: '#f097fa',
    950: '#000000',
  },
}
SCSS
$custom: #f097fa;
$custom-light: #f6b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f097fa",
  "rgb": {
    "r": 240,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 293.939,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.80025,
    "c": 0.1641,
    "h": 323.3
  },
  "luminance": 0.47561
}

Semantic roles & 50–950 ramp

primary
#F097FA
secondary
#D9F6D5
accent
#E60017
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F097FA

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

Preview Lab → · Contrast checker → · Palette generator →

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