#F870F3#F870F3

#F870F3 is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 75.3% C 0.224 H 328.9°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#F870F3
RGBrgb(248, 112, 243)
HSLhsl(302, 91%, 71%)
HSVhsv(302, 55%, 97%)
CMYKcmyk(0%, 54.8%, 2%, 2.7%)
CIE-LABlab(68.04, 68.32, -42.05)
CIE-LCHlch(68.04, 80.22, 328.38°)
OKLaboklab(75.3% 0.1918 -0.1155)
OKLCHoklch(75.3% 0.224 328.9)
XYZxyz(60.6825, 38.0197, 88.9190)
Luminance0.3802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870F3 #70F875
analogous
#B970F8 #F870F3 #F870AF
triadic
#F870F3 #F3F870 #70F3F8
tetradic
#F870F3 #F8B970 #70F875 #70AFF8
square
#F870F3 #F8B970 #70F875 #70AFF8
split-complementary
#F870F3 #AFF870 #70F8B9
monochromatic
#E30BDB #F536EE #F870F3 #FBAAF8 #FEE2FD

Accessibility & contrast

On white

2.44
#F870F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#F870F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870F3
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870F3#FFFFFF#000000##000000
##F870F31.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#90ACEF
Tritanopia (blue-blind)
#FF7EA7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f870f3;
/* rgb */ color: rgb(248, 112, 243);
/* oklch */ color: oklch(75.3% 0.224 328.9);
Tailwind
colors: {
  custom: {
    50: '#fd9ff7',
    500: '#f870f3',
    950: '#000000',
  },
}
SCSS
$custom: #f870f3;
$custom-light: #fd9ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#f870f3",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 243
  },
  "hsl": {
    "h": 302.206,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75302,
    "c": 0.2239,
    "h": 328.9
  },
  "luminance": 0.38016
}

Semantic roles & 50–950 ramp

primary
#F870F3
secondary
#CFF4D1
accent
#E60800
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F870F3

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

Preview Lab → · Contrast checker → · Palette generator →

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