#F281F6#F281F6

#F281F6 is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.9% C 0.197 H 326.0°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#F281F6
RGBrgb(242, 129, 246)
HSLhsl(298, 87%, 74%)
HSVhsv(298, 48%, 96%)
CMYKcmyk(1.6%, 47.6%, 0%, 3.5%)
CIE-LABlab(70.34, 59.37, -40.15)
CIE-LCHlch(70.34, 71.68, 325.93°)
OKLaboklab(76.88% 0.1636 -0.1103)
OKLCHoklch(76.88% 0.197 326)
XYZxyz(61.1015, 41.2347, 91.9116)
Luminance0.4123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281F6 #85F681
analogous
#B781F6 #F281F6 #F681BF
triadic
#F281F6 #F6F281 #81F6F2
tetradic
#F281F6 #F6B781 #85F681 #81BFF6
square
#F281F6 #F6B781 #85F681 #81BFF6
split-complementary
#F281F6 #BFF681 #81F6B7
monochromatic
#E411EC #EC48F2 #F281F6 #F8BAFA #FCE2FD

Accessibility & contrast

On white

2.27
#F281F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#F281F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281F6
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281F6#FFFFFF#000000##000000
##F281F61.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FA
Deuteranopia (green-blind)
#96B1F2
Tritanopia (blue-blind)
#F78EB0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f281f6;
/* rgb */ color: rgb(242, 129, 246);
/* oklch */ color: oklch(76.9% 0.197 326.0);
Tailwind
colors: {
  custom: {
    50: '#f9a9f9',
    500: '#f281f6',
    950: '#000000',
  },
}
SCSS
$custom: #f281f6;
$custom-light: #f9a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f281f6",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 297.949,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76883,
    "c": 0.19729,
    "h": 326
  },
  "luminance": 0.41232
}

Semantic roles & 50–950 ramp

primary
#F281F6
secondary
#D7F5D6
accent
#E3020A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F281F6

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

Preview Lab → · Contrast checker → · Palette generator →

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