#F291FC#F291FC

#F291FC is a light, vivid purple. Relative luminance 0.462; OKLCH L 79.4% C 0.177 H 323.6°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#F291FC
RGBrgb(242, 145, 252)
HSLhsl(294, 95%, 78%)
HSVhsv(294, 42%, 99%)
CMYKcmyk(4%, 42.5%, 0%, 1.2%)
CIE-LABlab(73.65, 52.54, -38.27)
CIE-LCHlch(73.65, 65.00, 323.93°)
OKLaboklab(79.43% 0.1427 -0.105)
OKLCHoklch(79.43% 0.177 323.6)
XYZxyz(64.3123, 46.1590, 97.5985)
Luminance0.4616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F291FC #9BFC91
analogous
#BD91FC #F291FC #FC91D0
triadic
#F291FC #FCF291 #91FCF2
tetradic
#F291FC #FCBD91 #9BFC91 #91D0FC
square
#F291FC #FCBD91 #9BFC91 #91D0FC
split-complementary
#F291FC #D0FC91 #91FCBD
monochromatic
#E41AF9 #EB55FA #F291FC #F9CDFE #FBE1FE

Accessibility & contrast

On white

2.05
#F291FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#F291FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F291FC
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F291FC#FFFFFF#000000##000000
##F291FC1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#9FB9F9
Tritanopia (blue-blind)
#F69DBB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f291fc;
/* rgb */ color: rgb(242, 145, 252);
/* oklch */ color: oklch(79.4% 0.177 323.6);
Tailwind
colors: {
  custom: {
    50: '#f8b3fd',
    500: '#f291fc',
    950: '#000000',
  },
}
SCSS
$custom: #f291fc;
$custom-light: #f8b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f291fc",
  "rgb": {
    "r": 242,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 294.393,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79427,
    "c": 0.17713,
    "h": 323.6
  },
  "luminance": 0.46156
}

Semantic roles & 50–950 ramp

primary
#F291FC
secondary
#D8F6D5
accent
#E60015
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F291FC

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

Preview Lab → · Contrast checker → · Palette generator →

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