#F581FB#F581FB

#F581FB is a light, highly saturated purple. Relative luminance 0.421; OKLCH L 77.5% C 0.204 H 325.5°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#F581FB
RGBrgb(245, 129, 251)
HSLhsl(297, 94%, 75%)
HSVhsv(297, 49%, 98%)
CMYKcmyk(2.4%, 48.6%, 0%, 1.6%)
CIE-LABlab(70.93, 61.08, -41.94)
CIE-LCHlch(70.93, 74.09, 325.52°)
OKLaboklab(77.47% 0.1677 -0.1154)
OKLCHoklch(77.47% 0.204 325.5)
XYZxyz(62.9176, 42.0812, 96.0565)
Luminance0.4208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F581FB #87FB81
analogous
#B881FB #F581FB #FB81C4
triadic
#F581FB #FBF581 #81FBF5
tetradic
#F581FB #FBB881 #87FB81 #81C4FB
square
#F581FB #FBB881 #87FB81 #81C4FB
split-complementary
#F581FB #C4FB81 #81FBB8
monochromatic
#EC0AF7 #F046F9 #F581FB #FABCFD #FDE1FE

Accessibility & contrast

On white

2.23
#F581FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#F581FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F581FB
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F581FB#FFFFFF#000000##000000
##F581FB1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FF
Deuteranopia (green-blind)
#96B3F7
Tritanopia (blue-blind)
#FA8FB3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f581fb;
/* rgb */ color: rgb(245, 129, 251);
/* oklch */ color: oklch(77.5% 0.204 325.5);
Tailwind
colors: {
  custom: {
    50: '#fba9fd',
    500: '#f581fb',
    950: '#000000',
  },
}
SCSS
$custom: #f581fb;
$custom-light: #fba9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f581fb",
  "rgb": {
    "r": 245,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 297.049,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77466,
    "c": 0.20351,
    "h": 325.5
  },
  "luminance": 0.42078
}

Semantic roles & 50–950 ramp

primary
#F581FB
secondary
#D6F6D5
accent
#E6000B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F581FB

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

Preview Lab → · Contrast checker → · Palette generator →

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