#F870E6#F870E6

#F870E6 is a light, highly saturated purple. Relative luminance 0.373; OKLCH L 74.7% C 0.214 H 332.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#F870E6
RGBrgb(248, 112, 230)
HSLhsl(308, 91%, 71%)
HSVhsv(308, 55%, 97%)
CMYKcmyk(0%, 54.8%, 7.3%, 2.7%)
CIE-LABlab(67.47, 66.21, -35.75)
CIE-LCHlch(67.47, 75.25, 331.63°)
OKLaboklab(74.71% 0.19 -0.0975)
OKLCHoklch(74.71% 0.214 332.8)
XYZxyz(58.7885, 37.2621, 78.9435)
Luminance0.3726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870E6 #70F882
analogous
#C670F8 #F870E6 #F870A2
triadic
#F870E6 #E6F870 #70E6F8
tetradic
#F870E6 #F8C670 #70F882 #70A2F8
square
#F870E6 #F8C670 #70F882 #70A2F8
split-complementary
#F870E6 #A2F870 #70F8C6
monochromatic
#E30BC6 #F536DC #F870E6 #FBAAF0 #FEE2FA

Accessibility & contrast

On white

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

On black

8.45
#F870E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870E6
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870E6#FFFFFF#000000##000000
##F870E61.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EA
Deuteranopia (green-blind)
#96ABE2
Tritanopia (blue-blind)
#FF7AA1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f870e6;
/* rgb */ color: rgb(248, 112, 230);
/* oklch */ color: oklch(74.7% 0.214 332.8);
Tailwind
colors: {
  custom: {
    50: '#fd9fee',
    500: '#f870e6',
    950: '#000000',
  },
}
SCSS
$custom: #f870e6;
$custom-light: #fd9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#f870e6",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 230
  },
  "hsl": {
    "h": 307.941,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74705,
    "c": 0.21355,
    "h": 332.8
  },
  "luminance": 0.37258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F870E6

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

Preview Lab → · Contrast checker → · Palette generator →

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