#F081FA#F081FA

#F081FA is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.8% C 0.200 H 324.2°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#F081FA
RGBrgb(240, 129, 250)
HSLhsl(295, 92%, 74%)
HSVhsv(295, 48%, 98%)
CMYKcmyk(4%, 48.4%, 0%, 2%)
CIE-LABlab(70.27, 59.54, -42.47)
CIE-LCHlch(70.27, 73.13, 324.50°)
OKLaboklab(76.83% 0.162 -0.117)
OKLCHoklch(76.83% 0.2 324.2)
XYZxyz(61.0392, 41.1308, 95.1478)
Luminance0.4113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F081FA #8BFA81
analogous
#B481FA #F081FA #FA81C8
triadic
#F081FA #FAF081 #81FAF0
tetradic
#F081FA #FAB481 #8BFA81 #81C8FA
square
#F081FA #FAB481 #8BFA81 #81C8FA
split-complementary
#F081FA #C8FA81 #81FAB4
monochromatic
#E20BF5 #E946F8 #F081FA #F7BCFC #FBE2FE

Accessibility & contrast

On white

2.28
#F081FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#F081FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F081FA
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F081FA#FFFFFF#000000##000000
##F081FA1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#93B1F6
Tritanopia (blue-blind)
#F490B2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f081fa;
/* rgb */ color: rgb(240, 129, 250);
/* oklch */ color: oklch(76.8% 0.200 324.2);
Tailwind
colors: {
  custom: {
    50: '#f7a9fc',
    500: '#f081fa',
    950: '#000000',
  },
}
SCSS
$custom: #f081fa;
$custom-light: #f7a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f081fa",
  "rgb": {
    "r": 240,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 295.041,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76834,
    "c": 0.19979,
    "h": 324.2
  },
  "luminance": 0.41128
}

Semantic roles & 50–950 ramp

primary
#F081FA
secondary
#D8F6D5
accent
#E60013
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F081FA

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

Preview Lab → · Contrast checker → · Palette generator →

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