#F870E8#F870E8

#F870E8 is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.8% C 0.215 H 332.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#F870E8
RGBrgb(248, 112, 232)
HSLhsl(307, 91%, 71%)
HSVhsv(307, 55%, 97%)
CMYKcmyk(0%, 54.8%, 6.5%, 2.7%)
CIE-LABlab(67.56, 66.53, -36.73)
CIE-LCHlch(67.56, 76.00, 331.10°)
OKLaboklab(74.8% 0.1903 -0.1002)
OKLCHoklch(74.8% 0.215 332.2)
XYZxyz(59.0709, 37.3750, 80.4311)
Luminance0.3737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870E8 #70F880
analogous
#C470F8 #F870E8 #F870A4
triadic
#F870E8 #E8F870 #70E8F8
tetradic
#F870E8 #F8C470 #70F880 #70A4F8
square
#F870E8 #F8C470 #70F880 #70A4F8
split-complementary
#F870E8 #A4F870 #70F8C4
monochromatic
#E30BC9 #F536DF #F870E8 #FBAAF1 #FEE2FA

Accessibility & contrast

On white

2.48
#F870E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#F870E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870E8
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870E8#FFFFFF#000000##000000
##F870E81.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98EC
Deuteranopia (green-blind)
#95ACE4
Tritanopia (blue-blind)
#FF7AA2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f870e8;
/* rgb */ color: rgb(248, 112, 232);
/* oklch */ color: oklch(74.8% 0.215 332.2);
Tailwind
colors: {
  custom: {
    50: '#fd9fef',
    500: '#f870e8',
    950: '#000000',
  },
}
SCSS
$custom: #f870e8;
$custom-light: #fd9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#f870e8",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 307.059,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74795,
    "c": 0.2151,
    "h": 332.2
  },
  "luminance": 0.37371
}

Semantic roles & 50–950 ramp

primary
#F870E8
secondary
#CFF4D4
accent
#E61B00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F870E8

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

Preview Lab → · Contrast checker → · Palette generator →

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