#F096FA#F096FA

#F096FA is a light, vivid purple. Relative luminance 0.472; OKLCH L 79.9% C 0.166 H 323.4°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#F096FA
RGBrgb(240, 150, 250)
HSLhsl(294, 91%, 78%)
HSVhsv(294, 40%, 98%)
CMYKcmyk(4%, 40%, 0%, 2%)
CIE-LABlab(74.34, 49.05, -36.12)
CIE-LCHlch(74.34, 60.91, 323.63°)
OKLaboklab(79.87% 0.133 -0.0989)
OKLCHoklch(79.87% 0.166 323.4)
XYZxyz(64.0951, 47.2426, 96.1664)
Luminance0.4724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F096FA #A0FA96
analogous
#BE96FA #F096FA #FA96D2
triadic
#F096FA #FAF096 #96FAF0
tetradic
#F096FA #FABE96 #A0FA96 #96D2FA
square
#F096FA #FABE96 #A0FA96 #96D2FA
split-complementary
#F096FA #D2FA96 #96FABE
monochromatic
#DF21F4 #E85CF7 #F096FA #F8D0FD #FBE2FE

Accessibility & contrast

On white

2.01
#F096FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#F096FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F096FA
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F096FA#FFFFFF#000000##000000
##F096FA1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f096fa;
/* rgb */ color: rgb(240, 150, 250);
/* oklch */ color: oklch(79.9% 0.166 323.4);
Tailwind
colors: {
  custom: {
    50: '#f6b7fc',
    500: '#f096fa',
    950: '#000000',
  },
}
SCSS
$custom: #f096fa;
$custom-light: #f6b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f096fa",
  "rgb": {
    "r": 240,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 294,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.79872,
    "c": 0.16577,
    "h": 323.4
  },
  "luminance": 0.4724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F096FA

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

Preview Lab → · Contrast checker → · Palette generator →

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