#F866EC#F866EC

#F866EC is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 73.8% C 0.232 H 331.0°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#F866EC
RGBrgb(248, 102, 236)
HSLhsl(305, 91%, 69%)
HSVhsv(305, 59%, 97%)
CMYKcmyk(0%, 58.9%, 4.8%, 2.7%)
CIE-LABlab(66.15, 71.46, -41.14)
CIE-LCHlch(66.15, 82.46, 330.07°)
OKLaboklab(73.82% 0.2032 -0.1128)
OKLCHoklch(73.82% 0.232 331)
XYZxyz(58.6028, 35.5194, 83.1099)
Luminance0.3552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F866EC #66F872
analogous
#BB66F8 #F866EC #F866A3
triadic
#F866EC #ECF866 #66ECF8
tetradic
#F866EC #F8BB66 #66F872 #66A3F8
square
#F866EC #F8BB66 #66F872 #66A3F8
split-complementary
#F866EC #A3F866 #66F8BB
monochromatic
#DA0AC9 #F52BE5 #F866EC #FBA1F3 #FDDBFB

Accessibility & contrast

On white

2.59
#F866EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#F866EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F866EC
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F866EC#FFFFFF#000000##000000
##F866EC1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#8DA8E8
Tritanopia (blue-blind)
#FF74A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f866ec;
/* rgb */ color: rgb(248, 102, 236);
/* oklch */ color: oklch(73.8% 0.232 331.0);
Tailwind
colors: {
  custom: {
    50: '#fe99f2',
    500: '#f866ec',
    950: '#000000',
  },
}
SCSS
$custom: #f866ec;
$custom-light: #fe99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f866ec",
  "rgb": {
    "r": 248,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 304.932,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73821,
    "c": 0.23243,
    "h": 331
  },
  "luminance": 0.35515
}

Semantic roles & 50–950 ramp

primary
#F866EC
secondary
#C7F3CB
accent
#E61300
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180F17
muted
#867E85

Preview Lab

Preview with #F866EC

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

Preview Lab → · Contrast checker → · Palette generator →

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