#F870E2#F870E2

#F870E2 is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.5% C 0.210 H 334.1°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#F870E2
RGBrgb(248, 112, 226)
HSLhsl(310, 91%, 71%)
HSVhsv(310, 55%, 97%)
CMYKcmyk(0%, 54.8%, 8.9%, 2.7%)
CIE-LABlab(67.31, 65.58, -33.79)
CIE-LCHlch(67.31, 73.78, 332.74°)
OKLaboklab(74.53% 0.1894 -0.0919)
OKLCHoklch(74.53% 0.21 334.1)
XYZxyz(58.2332, 37.0400, 76.0191)
Luminance0.3704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870E2 #70F886
analogous
#CA70F8 #F870E2 #F8709E
triadic
#F870E2 #E2F870 #70E2F8
tetradic
#F870E2 #F8CA70 #70F886 #709EF8
square
#F870E2 #F8CA70 #70F886 #709EF8
split-complementary
#F870E2 #9EF870 #70F8CA
monochromatic
#E30BC0 #F536D6 #F870E2 #FBAAEE #FEE2F9

Accessibility & contrast

On white

2.50
#F870E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#F870E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870E2
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870E2#FFFFFF#000000##000000
##F870E21.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E6
Deuteranopia (green-blind)
#97ABDE
Tritanopia (blue-blind)
#FF789F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f870e2;
/* rgb */ color: rgb(248, 112, 226);
/* oklch */ color: oklch(74.5% 0.210 334.1);
Tailwind
colors: {
  custom: {
    50: '#fd9feb',
    500: '#f870e2',
    950: '#000000',
  },
}
SCSS
$custom: #f870e2;
$custom-light: #fd9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#f870e2",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 226
  },
  "hsl": {
    "h": 309.706,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74529,
    "c": 0.21046,
    "h": 334.1
  },
  "luminance": 0.37036
}

Semantic roles & 50–950 ramp

primary
#F870E2
secondary
#CFF4D5
accent
#E62500
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F870E2

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

Preview Lab → · Contrast checker → · Palette generator →

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