#F870FE#F870FE

#F870FE is a light, highly saturated purple. Relative luminance 0.387; OKLCH L 75.8% C 0.233 H 325.9°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#F870FE
RGBrgb(248, 112, 254)
HSLhsl(297, 99%, 72%)
HSVhsv(297, 56%, 100%)
CMYKcmyk(2.4%, 55.9%, 0%, 0.4%)
CIE-LABlab(68.54, 70.17, -47.30)
CIE-LCHlch(68.54, 84.62, 326.01°)
OKLaboklab(75.83% 0.193 -0.1306)
OKLCHoklch(75.83% 0.233 325.9)
XYZxyz(62.3937, 38.7041, 97.9309)
Luminance0.3870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870FE #76FE70
analogous
#B170FE #F870FE #FE70BD
triadic
#F870FE #FEF870 #70FEF8
tetradic
#F870FE #FEB170 #76FE70 #70BDFE
square
#F870FE #FEB170 #76FE70 #70BDFE
split-complementary
#F870FE #BDFE70 #70FEB1
monochromatic
#E802F2 #F533FE #F870FE #FBADFE #FEE1FF

Accessibility & contrast

On white

2.40
#F870FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#F870FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870FE
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870FE#FFFFFF#000000##000000
##F870FE1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#8BADFA
Tritanopia (blue-blind)
#FE82AD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f870fe;
/* rgb */ color: rgb(248, 112, 254);
/* oklch */ color: oklch(75.8% 0.233 325.9);
Tailwind
colors: {
  custom: {
    50: '#fe9fff',
    500: '#f870fe',
    950: '#000000',
  },
}
SCSS
$custom: #f870fe;
$custom-light: #fe9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#f870fe",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 297.465,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75832,
    "c": 0.23304,
    "h": 325.9
  },
  "luminance": 0.38701
}

Semantic roles & 50–950 ramp

primary
#F870FE
secondary
#D4F7D3
accent
#E6000A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F870FE

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

Preview Lab → · Contrast checker → · Palette generator →

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