#F291FB#F291FB

#F291FB is a light, vivid purple. Relative luminance 0.461; OKLCH L 79.4% C 0.176 H 324.0°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#F291FB
RGBrgb(242, 145, 251)
HSLhsl(295, 93%, 78%)
HSVhsv(295, 42%, 98%)
CMYKcmyk(3.6%, 42.2%, 0%, 1.6%)
CIE-LABlab(73.61, 52.36, -37.79)
CIE-LCHlch(73.61, 64.57, 324.18°)
OKLaboklab(79.38% 0.1425 -0.1036)
OKLCHoklch(79.38% 0.176 324)
XYZxyz(64.1542, 46.0958, 96.7661)
Luminance0.4609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F291FB #9AFB91
analogous
#BD91FB #F291FB #FB91CF
triadic
#F291FB #FBF291 #91FBF2
tetradic
#F291FB #FBBD91 #9AFB91 #91CFFB
square
#F291FB #FBBD91 #9AFB91 #91CFFB
split-complementary
#F291FB #CFFB91 #91FBBD
monochromatic
#E41BF7 #EB56F9 #F291FB #F9CCFD #FCE1FE

Accessibility & contrast

On white

2.06
#F291FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#F291FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F291FB
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F291FB#FFFFFF#000000##000000
##F291FB1.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#A0B9F8
Tritanopia (blue-blind)
#F69DBA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f291fb;
/* rgb */ color: rgb(242, 145, 251);
/* oklch */ color: oklch(79.4% 0.176 324.0);
Tailwind
colors: {
  custom: {
    50: '#f8b3fd',
    500: '#f291fb',
    950: '#000000',
  },
}
SCSS
$custom: #f291fb;
$custom-light: #f8b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f291fb",
  "rgb": {
    "r": 242,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 294.906,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.79383,
    "c": 0.17617,
    "h": 324
  },
  "luminance": 0.46093
}

Semantic roles & 50–950 ramp

primary
#F291FB
secondary
#D8F6D5
accent
#E60013
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F291FB

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

Preview Lab → · Contrast checker → · Palette generator →

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