#F870FB#F870FB

#F870FB is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.7% C 0.231 H 326.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#F870FB
RGBrgb(248, 112, 251)
HSLhsl(299, 95%, 71%)
HSVhsv(299, 55%, 98%)
CMYKcmyk(1.2%, 55.4%, 0%, 1.6%)
CIE-LABlab(68.40, 69.66, -45.88)
CIE-LCHlch(68.40, 83.41, 326.63°)
OKLaboklab(75.69% 0.1927 -0.1265)
OKLCHoklch(75.69% 0.231 326.7)
XYZxyz(61.9170, 38.5135, 95.4206)
Luminance0.3851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870FB #73FB70
analogous
#B270FB #F870FB #FB70B8
triadic
#F870FB #FBF870 #70FBF8
tetradic
#F870FB #FBB270 #73FB70 #70B8FB
square
#F870FB #FBB270 #73FB70 #70B8FB
split-complementary
#F870FB #B8FB70 #70FBB2
monochromatic
#E507EA #F534F9 #F870FB #FBACFD #FEE1FE

Accessibility & contrast

On white

2.41
#F870FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#F870FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870FB
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870FB#FFFFFF#000000##000000
##F870FB1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#8DADF7
Tritanopia (blue-blind)
#FE81AB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f870fb;
/* rgb */ color: rgb(248, 112, 251);
/* oklch */ color: oklch(75.7% 0.231 326.7);
Tailwind
colors: {
  custom: {
    50: '#fe9ffd',
    500: '#f870fb',
    950: '#000000',
  },
}
SCSS
$custom: #f870fb;
$custom-light: #fe9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#f870fb",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 298.705,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75685,
    "c": 0.23052,
    "h": 326.7
  },
  "luminance": 0.3851
}

Semantic roles & 50–950 ramp

primary
#F870FB
secondary
#D2F6D1
accent
#E60005
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F870FB

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

Preview Lab → · Contrast checker → · Palette generator →

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