#F870EB#F870EB

#F870EB is a light, highly saturated purple. Relative luminance 0.375; OKLCH L 74.9% C 0.217 H 331.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#F870EB
RGBrgb(248, 112, 235)
HSLhsl(306, 91%, 71%)
HSVhsv(306, 55%, 97%)
CMYKcmyk(0%, 54.8%, 5.2%, 2.7%)
CIE-LABlab(67.69, 67.01, -38.19)
CIE-LCHlch(67.69, 77.13, 330.32°)
OKLaboklab(74.93% 0.1908 -0.1044)
OKLCHoklch(74.93% 0.217 331.3)
XYZxyz(59.5007, 37.5469, 82.6945)
Luminance0.3754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870EB #70F87D
analogous
#C170F8 #F870EB #F870A7
triadic
#F870EB #EBF870 #70EBF8
tetradic
#F870EB #F8C170 #70F87D #70A7F8
square
#F870EB #F8C170 #70F87D #70A7F8
split-complementary
#F870EB #A7F870 #70F8C1
monochromatic
#E30BCE #F536E3 #F870EB #FBAAF3 #FEE2FB

Accessibility & contrast

On white

2.47
#F870EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#F870EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870EB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870EB#FFFFFF#000000##000000
##F870EB1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#94ACE7
Tritanopia (blue-blind)
#FF7CA4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f870eb;
/* rgb */ color: rgb(248, 112, 235);
/* oklch */ color: oklch(74.9% 0.217 331.3);
Tailwind
colors: {
  custom: {
    50: '#fd9ff2',
    500: '#f870eb',
    950: '#000000',
  },
}
SCSS
$custom: #f870eb;
$custom-light: #fd9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#f870eb",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 305.735,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74931,
    "c": 0.21746,
    "h": 331.3
  },
  "luminance": 0.37543
}

Semantic roles & 50–950 ramp

primary
#F870EB
secondary
#CFF4D3
accent
#E61600
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F870EB

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

Preview Lab → · Contrast checker → · Palette generator →

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