#F870EE#F870EE

#F870EE is a light, highly saturated purple. Relative luminance 0.377; OKLCH L 75.1% C 0.220 H 330.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#F870EE
RGBrgb(248, 112, 238)
HSLhsl(304, 91%, 71%)
HSVhsv(304, 55%, 97%)
CMYKcmyk(0%, 54.8%, 4%, 2.7%)
CIE-LABlab(67.82, 67.50, -39.64)
CIE-LCHlch(67.82, 78.28, 329.57°)
OKLaboklab(75.07% 0.1912 -0.1086)
OKLCHoklch(75.07% 0.22 330.4)
XYZxyz(59.9377, 37.7218, 84.9964)
Luminance0.3772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870EE #70F87A
analogous
#BE70F8 #F870EE #F870AA
triadic
#F870EE #EEF870 #70EEF8
tetradic
#F870EE #F8BE70 #70F87A #70AAF8
square
#F870EE #F8BE70 #70F87A #70AAF8
split-complementary
#F870EE #AAF870 #70F8BE
monochromatic
#E30BD3 #F536E7 #F870EE #FBAAF5 #FEE2FC

Accessibility & contrast

On white

2.46
#F870EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#F870EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870EE
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870EE#FFFFFF#000000##000000
##F870EE1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#92ACEA
Tritanopia (blue-blind)
#FF7DA5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f870ee;
/* rgb */ color: rgb(248, 112, 238);
/* oklch */ color: oklch(75.1% 0.220 330.4);
Tailwind
colors: {
  custom: {
    50: '#fd9ff4',
    500: '#f870ee',
    950: '#000000',
  },
}
SCSS
$custom: #f870ee;
$custom-light: #fd9ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#f870ee",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 304.412,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75069,
    "c": 0.21986,
    "h": 330.4
  },
  "luminance": 0.37718
}

Semantic roles & 50–950 ramp

primary
#F870EE
secondary
#CFF4D2
accent
#E61100
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F870EE

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

Preview Lab → · Contrast checker → · Palette generator →

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