#F870E5#F870E5

#F870E5 is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.7% C 0.213 H 333.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#F870E5
RGBrgb(248, 112, 229)
HSLhsl(308, 91%, 71%)
HSVhsv(308, 55%, 97%)
CMYKcmyk(0%, 54.8%, 7.7%, 2.7%)
CIE-LABlab(67.43, 66.05, -35.26)
CIE-LCHlch(67.43, 74.88, 331.90°)
OKLaboklab(74.66% 0.1899 -0.0961)
OKLCHoklch(74.66% 0.213 333.2)
XYZxyz(58.6484, 37.2061, 78.2060)
Luminance0.3720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870E5 #70F883
analogous
#C770F8 #F870E5 #F870A1
triadic
#F870E5 #E5F870 #70E5F8
tetradic
#F870E5 #F8C770 #70F883 #70A1F8
square
#F870E5 #F8C770 #70F883 #70A1F8
split-complementary
#F870E5 #A1F870 #70F8C7
monochromatic
#E30BC4 #F536DA #F870E5 #FBAAF0 #FEE2FA

Accessibility & contrast

On white

2.49
#F870E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#F870E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870E5
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870E5#FFFFFF#000000##000000
##F870E51.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98E9
Deuteranopia (green-blind)
#96ABE1
Tritanopia (blue-blind)
#FF79A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f870e5;
/* rgb */ color: rgb(248, 112, 229);
/* oklch */ color: oklch(74.7% 0.213 333.2);
Tailwind
colors: {
  custom: {
    50: '#fd9fed',
    500: '#f870e5',
    950: '#000000',
  },
}
SCSS
$custom: #f870e5;
$custom-light: #fd9fed;
$custom-dark: #000000;
JSON
{
  "hex": "#f870e5",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 229
  },
  "hsl": {
    "h": 308.382,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74661,
    "c": 0.21277,
    "h": 333.2
  },
  "luminance": 0.37202
}

Semantic roles & 50–950 ramp

primary
#F870E5
secondary
#CFF4D5
accent
#E62000
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F870E5

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

Preview Lab → · Contrast checker → · Palette generator →

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