#F870F6#F870F6

#F870F6 is a light, highly saturated purple. Relative luminance 0.382; OKLCH L 75.4% C 0.226 H 328.1°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#F870F6
RGBrgb(248, 112, 246)
HSLhsl(301, 91%, 71%)
HSVhsv(301, 55%, 97%)
CMYKcmyk(0%, 54.8%, 0.8%, 2.7%)
CIE-LABlab(68.17, 68.82, -43.49)
CIE-LCHlch(68.17, 81.41, 327.71°)
OKLaboklab(75.44% 0.1922 -0.1196)
OKLCHoklch(75.44% 0.226 328.1)
XYZxyz(61.1393, 38.2024, 91.3244)
Luminance0.3820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870F6 #70F872
analogous
#B670F8 #F870F6 #F870B2
triadic
#F870F6 #F6F870 #70F6F8
tetradic
#F870F6 #F8B670 #70F872 #70B2F8
square
#F870F6 #F8B670 #70F872 #70B2F8
split-complementary
#F870F6 #B2F870 #70F8B6
monochromatic
#E30BDF #F536F2 #F870F6 #FBAAFA #FEE2FD

Accessibility & contrast

On white

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

On black

8.64
#F870F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870F6
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870F6#FFFFFF#000000##000000
##F870F61.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFA
Deuteranopia (green-blind)
#8FADF2
Tritanopia (blue-blind)
#FF7FA9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f870f6;
/* rgb */ color: rgb(248, 112, 246);
/* oklch */ color: oklch(75.4% 0.226 328.1);
Tailwind
colors: {
  custom: {
    50: '#fd9ff9',
    500: '#f870f6',
    950: '#000000',
  },
}
SCSS
$custom: #f870f6;
$custom-light: #fd9ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#f870f6",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 300.882,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75444,
    "c": 0.22637,
    "h": 328.1
  },
  "luminance": 0.38199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F870F6

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

Preview Lab → · Contrast checker → · Palette generator →

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