#F291FA#F291FA

#F291FA is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.3% C 0.175 H 324.3°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#F291FA
RGBrgb(242, 145, 250)
HSLhsl(295, 91%, 77%)
HSVhsv(295, 42%, 98%)
CMYKcmyk(3.2%, 42%, 0%, 2%)
CIE-LABlab(73.57, 52.17, -37.31)
CIE-LCHlch(73.57, 64.14, 324.43°)
OKLaboklab(79.34% 0.1423 -0.1023)
OKLCHoklch(79.34% 0.175 324.3)
XYZxyz(63.9970, 46.0329, 95.9381)
Luminance0.4603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F291FA #99FA91
analogous
#BE91FA #F291FA #FA91CD
triadic
#F291FA #FAF291 #91FAF2
tetradic
#F291FA #FABE91 #99FA91 #91CDFA
square
#F291FA #FABE91 #99FA91 #91CDFA
split-complementary
#F291FA #CDFA91 #91FABE
monochromatic
#E41CF5 #EB56F7 #F291FA #F9CCFD #FCE2FE

Accessibility & contrast

On white

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

On black

10.21
#F291FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F291FA
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F291FA#FFFFFF#000000##000000
##F291FA1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFE
Deuteranopia (green-blind)
#A0B9F7
Tritanopia (blue-blind)
#F69DBA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f291fa;
/* rgb */ color: rgb(242, 145, 250);
/* oklch */ color: oklch(79.3% 0.175 324.3);
Tailwind
colors: {
  custom: {
    50: '#f8b3fc',
    500: '#f291fa',
    950: '#000000',
  },
}
SCSS
$custom: #f291fa;
$custom-light: #f8b3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f291fa",
  "rgb": {
    "r": 242,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 295.429,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79339,
    "c": 0.17521,
    "h": 324.3
  },
  "luminance": 0.4603
}

Semantic roles & 50–950 ramp

primary
#F291FA
secondary
#D8F6D5
accent
#E60011
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F291FA

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

Preview Lab → · Contrast checker → · Palette generator →

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