#F870FA#F870FA

#F870FA is a light, highly saturated purple. Relative luminance 0.384; OKLCH L 75.6% C 0.230 H 327.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#F870FA
RGBrgb(248, 112, 250)
HSLhsl(299, 93%, 71%)
HSVhsv(299, 55%, 98%)
CMYKcmyk(0.8%, 55.2%, 0%, 2%)
CIE-LABlab(68.35, 69.49, -45.40)
CIE-LCHlch(68.35, 83.01, 326.84°)
OKLaboklab(75.64% 0.1926 -0.1251)
OKLCHoklch(75.64% 0.23 327)
XYZxyz(61.7598, 38.4506, 94.5926)
Luminance0.3845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870FA #72FA70
analogous
#B370FA #F870FA #FA70B7
triadic
#F870FA #FAF870 #70FAF8
tetradic
#F870FA #FAB370 #72FA70 #70B7FA
square
#F870FA #FAB370 #72FA70 #70B7FA
split-complementary
#F870FA #B7FA70 #70FAB3
monochromatic
#E408E8 #F535F8 #F870FA #FBABFC #FEE1FE

Accessibility & contrast

On white

2.42
#F870FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#F870FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870FA
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870FA#FFFFFF#000000##000000
##F870FA1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f870fa;
/* rgb */ color: rgb(248, 112, 250);
/* oklch */ color: oklch(75.6% 0.230 327.0);
Tailwind
colors: {
  custom: {
    50: '#fd9ffc',
    500: '#f870fa',
    950: '#000000',
  },
}
SCSS
$custom: #f870fa;
$custom-light: #fd9ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#f870fa",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 299.13,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75637,
    "c": 0.22969,
    "h": 327
  },
  "luminance": 0.38447
}

Semantic roles & 50–950 ramp

primary
#F870FA
secondary
#D1F5D1
accent
#E60003
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F870FA

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

Preview Lab → · Contrast checker → · Palette generator →

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