#F870ED#F870ED

#F870ED is a light, highly saturated purple. Relative luminance 0.377; OKLCH L 75.0% C 0.219 H 330.7°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#F870ED
RGBrgb(248, 112, 237)
HSLhsl(305, 91%, 71%)
HSVhsv(305, 55%, 97%)
CMYKcmyk(0%, 54.8%, 4.4%, 2.7%)
CIE-LABlab(67.77, 67.34, -39.16)
CIE-LCHlch(67.77, 77.89, 329.82°)
OKLaboklab(75.02% 0.191 -0.1072)
OKLCHoklch(75.02% 0.219 330.7)
XYZxyz(59.7912, 37.6632, 84.2248)
Luminance0.3766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870ED #70F87B
analogous
#BF70F8 #F870ED #F870A9
triadic
#F870ED #EDF870 #70EDF8
tetradic
#F870ED #F8BF70 #70F87B #70A9F8
square
#F870ED #F8BF70 #70F87B #70A9F8
split-complementary
#F870ED #A9F870 #70F8BF
monochromatic
#E30BD1 #F536E6 #F870ED #FBAAF4 #FEE2FB

Accessibility & contrast

On white

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

On black

8.53
#F870ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870ED
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870ED#FFFFFF#000000##000000
##F870ED1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F1
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#FF7CA5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f870ed;
/* rgb */ color: rgb(248, 112, 237);
/* oklch */ color: oklch(75.0% 0.219 330.7);
Tailwind
colors: {
  custom: {
    50: '#fd9ff3',
    500: '#f870ed',
    950: '#000000',
  },
}
SCSS
$custom: #f870ed;
$custom-light: #fd9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#f870ed",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 304.853,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75022,
    "c": 0.21906,
    "h": 330.7
  },
  "luminance": 0.37659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F870ED

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

Preview Lab → · Contrast checker → · Palette generator →

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