#F870F4#F870F4

#F870F4 is a light, highly saturated purple. Relative luminance 0.381; OKLCH L 75.3% C 0.225 H 328.7°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#F870F4
RGBrgb(248, 112, 244)
HSLhsl(302, 91%, 71%)
HSVhsv(302, 55%, 97%)
CMYKcmyk(0%, 54.8%, 1.6%, 2.7%)
CIE-LABlab(68.08, 68.48, -42.53)
CIE-LCHlch(68.08, 80.62, 328.16°)
OKLaboklab(75.35% 0.1919 -0.1169)
OKLCHoklch(75.35% 0.225 328.7)
XYZxyz(60.8340, 38.0803, 89.7164)
Luminance0.3808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870F4 #70F874
analogous
#B870F8 #F870F4 #F870B0
triadic
#F870F4 #F4F870 #70F4F8
tetradic
#F870F4 #F8B870 #70F874 #70B0F8
square
#F870F4 #F8B870 #70F874 #70B0F8
split-complementary
#F870F4 #B0F870 #70F8B8
monochromatic
#E30BDC #F536F0 #F870F4 #FBAAF8 #FEE2FD

Accessibility & contrast

On white

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

On black

8.62
#F870F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870F4
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870F4#FFFFFF#000000##000000
##F870F41.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF8
Deuteranopia (green-blind)
#90ACF0
Tritanopia (blue-blind)
#FF7FA8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f870f4;
/* rgb */ color: rgb(248, 112, 244);
/* oklch */ color: oklch(75.3% 0.225 328.7);
Tailwind
colors: {
  custom: {
    50: '#fd9ff8',
    500: '#f870f4',
    950: '#000000',
  },
}
SCSS
$custom: #f870f4;
$custom-light: #fd9ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#f870f4",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 301.765,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75349,
    "c": 0.22472,
    "h": 328.7
  },
  "luminance": 0.38076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F870F4

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

Preview Lab → · Contrast checker → · Palette generator →

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