#F281FC#F281FC

#F281FC is a light, highly saturated purple. Relative luminance 0.416; OKLCH L 77.2% C 0.203 H 324.2°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#F281FC
RGBrgb(242, 129, 252)
HSLhsl(295, 95%, 75%)
HSVhsv(295, 49%, 99%)
CMYKcmyk(4%, 48.8%, 0%, 1.2%)
CIE-LABlab(70.60, 60.44, -43.03)
CIE-LCHlch(70.60, 74.19, 324.55°)
OKLaboklab(77.16% 0.1645 -0.1185)
OKLCHoklch(77.16% 0.203 324.2)
XYZxyz(62.0373, 41.6090, 96.8402)
Luminance0.4161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281FC #8BFC81
analogous
#B581FC #F281FC #FC81C9
triadic
#F281FC #FCF281 #81FCF2
tetradic
#F281FC #FCB581 #8BFC81 #81C9FC
square
#F281FC #FCB581 #8BFC81 #81C9FC
split-complementary
#F281FC #C9FC81 #81FCB5
monochromatic
#E609F9 #EC45FB #F281FC #F8BDFD #FCE1FE

Accessibility & contrast

On white

2.25
#F281FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#F281FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281FC
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281FC#FFFFFF#000000##000000
##F281FC1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f281fc;
/* rgb */ color: rgb(242, 129, 252);
/* oklch */ color: oklch(77.2% 0.203 324.2);
Tailwind
colors: {
  custom: {
    50: '#f9a9fe',
    500: '#f281fc',
    950: '#000000',
  },
}
SCSS
$custom: #f281fc;
$custom-light: #f9a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f281fc",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 295.122,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77161,
    "c": 0.20273,
    "h": 324.2
  },
  "luminance": 0.41606
}

Semantic roles & 50–950 ramp

primary
#F281FC
secondary
#D7F7D4
accent
#E60013
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F281FC

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

Preview Lab → · Contrast checker → · Palette generator →

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