#F866F5#F866F5

#F866F5 is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 74.3% C 0.239 H 328.5°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#F866F5
RGBrgb(248, 102, 245)
HSLhsl(301, 91%, 69%)
HSVhsv(301, 59%, 97%)
CMYKcmyk(0%, 58.9%, 1.2%, 2.7%)
CIE-LABlab(66.56, 72.91, -45.47)
CIE-LCHlch(66.56, 85.93, 328.05°)
OKLaboklab(74.26% 0.2041 -0.1252)
OKLCHoklch(74.26% 0.239 328.5)
XYZxyz(59.9435, 36.0557, 90.1707)
Luminance0.3605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F866F5 #66F869
analogous
#B266F8 #F866F5 #F866AC
triadic
#F866F5 #F5F866 #66F5F8
tetradic
#F866F5 #F8B266 #66F869 #66ACF8
square
#F866F5 #F8B266 #66F869 #66ACF8
split-complementary
#F866F5 #ACF866 #66F8B2
monochromatic
#DA0AD5 #F52BF1 #F866F5 #FBA1F9 #FDDBFD

Accessibility & contrast

On white

2.56
#F866F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#F866F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F866F5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F866F5#FFFFFF#000000##000000
##F866F51.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F9
Deuteranopia (green-blind)
#89A9F1
Tritanopia (blue-blind)
#FF77A5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f866f5;
/* rgb */ color: rgb(248, 102, 245);
/* oklch */ color: oklch(74.3% 0.239 328.5);
Tailwind
colors: {
  custom: {
    50: '#fe9af9',
    500: '#f866f5',
    950: '#000000',
  },
}
SCSS
$custom: #f866f5;
$custom-light: #fe9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#f866f5",
  "rgb": {
    "r": 248,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 301.233,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.74255,
    "c": 0.23949,
    "h": 328.5
  },
  "luminance": 0.36052
}

Semantic roles & 50–950 ramp

primary
#F866F5
secondary
#C7F3C8
accent
#E60500
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F17
muted
#867E85

Preview Lab

Preview with #F866F5

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

Preview Lab → · Contrast checker → · Palette generator →

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