#F870F7#F870F7

#F870F7 is a light, highly saturated purple. Relative luminance 0.383; OKLCH L 75.5% C 0.227 H 327.8°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#F870F7
RGBrgb(248, 112, 247)
HSLhsl(300, 91%, 71%)
HSVhsv(300, 55%, 97%)
CMYKcmyk(0%, 54.8%, 0.4%, 2.7%)
CIE-LABlab(68.21, 68.98, -43.97)
CIE-LCHlch(68.21, 81.81, 327.49°)
OKLaboklab(75.49% 0.1923 -0.121)
OKLCHoklch(75.49% 0.227 327.8)
XYZxyz(61.2932, 38.2639, 92.1349)
Luminance0.3826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870F7 #70F871
analogous
#B570F8 #F870F7 #F870B3
triadic
#F870F7 #F7F870 #70F7F8
tetradic
#F870F7 #F8B570 #70F871 #70B3F8
square
#F870F7 #F8B570 #70F871 #70B3F8
split-complementary
#F870F7 #B3F870 #70F8B5
monochromatic
#E30BE1 #F536F4 #F870F7 #FBAAFA #FEE2FD

Accessibility & contrast

On white

2.43
#F870F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#F870F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870F7
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870F7#FFFFFF#000000##000000
##F870F71.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#8EADF3
Tritanopia (blue-blind)
#FF80A9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f870f7;
/* rgb */ color: rgb(248, 112, 247);
/* oklch */ color: oklch(75.5% 0.227 327.8);
Tailwind
colors: {
  custom: {
    50: '#fd9ffa',
    500: '#f870f7',
    950: '#000000',
  },
}
SCSS
$custom: #f870f7;
$custom-light: #fd9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#f870f7",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 300.441,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75492,
    "c": 0.22719,
    "h": 327.8
  },
  "luminance": 0.3826
}

Semantic roles & 50–950 ramp

primary
#F870F7
secondary
#CFF4D0
accent
#E60200
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F870F7

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

Preview Lab → · Contrast checker → · Palette generator →

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