#F866FB#F866FB

#F866FB is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.6% C 0.244 H 326.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#F866FB
RGBrgb(248, 102, 251)
HSLhsl(299, 95%, 69%)
HSVhsv(299, 59%, 98%)
CMYKcmyk(1.2%, 59.4%, 0%, 1.6%)
CIE-LABlab(66.85, 73.90, -48.32)
CIE-LCHlch(66.85, 88.29, 326.82°)
OKLaboklab(74.55% 0.2046 -0.1335)
OKLCHoklch(74.55% 0.244 326.9)
XYZxyz(60.8743, 36.4280, 95.0731)
Luminance0.3642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F866FB #69FB66
analogous
#AE66FB #F866FB #FB66B4
triadic
#F866FB #FBF866 #66FBF8
tetradic
#F866FB #FBAE66 #69FB66 #66B4FB
square
#F866FB #FBAE66 #69FB66 #66B4FB
split-complementary
#F866FB #B4FB66 #66FBAE
monochromatic
#DC06E1 #F52AF9 #F866FB #FBA2FD #FDDDFE

Accessibility & contrast

On white

2.53
#F866FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#F866FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F866FB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F866FB#FFFFFF#000000##000000
##F866FB1.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#FF79A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f866fb;
/* rgb */ color: rgb(248, 102, 251);
/* oklch */ color: oklch(74.6% 0.244 326.9);
Tailwind
colors: {
  custom: {
    50: '#fe9afd',
    500: '#f866fb',
    950: '#000000',
  },
}
SCSS
$custom: #f866fb;
$custom-light: #fe9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#f866fb",
  "rgb": {
    "r": 248,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 298.792,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.74553,
    "c": 0.24431,
    "h": 326.9
  },
  "luminance": 0.36424
}

Semantic roles & 50–950 ramp

primary
#F866FB
secondary
#CAF4C9
accent
#E60005
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F18
muted
#867E86

Preview Lab

Preview with #F866FB

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

Preview Lab → · Contrast checker → · Palette generator →

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