#F281FB#F281FB

#F281FB is a light, highly saturated purple. Relative luminance 0.415; OKLCH L 77.1% C 0.202 H 324.5°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#F281FB
RGBrgb(242, 129, 251)
HSLhsl(296, 94%, 75%)
HSVhsv(296, 49%, 98%)
CMYKcmyk(3.6%, 48.6%, 0%, 1.6%)
CIE-LABlab(70.56, 60.26, -42.55)
CIE-LCHlch(70.56, 73.77, 324.78°)
OKLaboklab(77.11% 0.1643 -0.1172)
OKLCHoklch(77.11% 0.202 324.5)
XYZxyz(61.8792, 41.5458, 96.0078)
Luminance0.4154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281FB #8AFB81
analogous
#B581FB #F281FB #FB81C7
triadic
#F281FB #FBF281 #81FBF2
tetradic
#F281FB #FBB581 #8AFB81 #81C7FB
square
#F281FB #FBB581 #8AFB81 #81C7FB
split-complementary
#F281FB #C7FB81 #81FBB5
monochromatic
#E60AF7 #EC46F9 #F281FB #F8BCFD #FCE1FE

Accessibility & contrast

On white

2.26
#F281FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#F281FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281FB
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281FB#FFFFFF#000000##000000
##F281FB1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#94B1F7
Tritanopia (blue-blind)
#F690B3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f281fb;
/* rgb */ color: rgb(242, 129, 251);
/* oklch */ color: oklch(77.1% 0.202 324.5);
Tailwind
colors: {
  custom: {
    50: '#f9a9fd',
    500: '#f281fb',
    950: '#000000',
  },
}
SCSS
$custom: #f281fb;
$custom-light: #f9a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f281fb",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 295.574,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77114,
    "c": 0.20182,
    "h": 324.5
  },
  "luminance": 0.41543
}

Semantic roles & 50–950 ramp

primary
#F281FB
secondary
#D7F6D5
accent
#E60011
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F281FB

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

Preview Lab → · Contrast checker → · Palette generator →

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