#F870EC#F870EC

#F870EC is a light, highly saturated purple. Relative luminance 0.376; OKLCH L 75.0% C 0.218 H 331.0°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#F870EC
RGBrgb(248, 112, 236)
HSLhsl(305, 91%, 71%)
HSVhsv(305, 55%, 97%)
CMYKcmyk(0%, 54.8%, 4.8%, 2.7%)
CIE-LABlab(67.73, 67.17, -38.67)
CIE-LCHlch(67.73, 77.51, 330.07°)
OKLaboklab(74.98% 0.1909 -0.1058)
OKLCHoklch(74.98% 0.218 331)
XYZxyz(59.6456, 37.6049, 83.4575)
Luminance0.3760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870EC #70F87C
analogous
#C070F8 #F870EC #F870A8
triadic
#F870EC #ECF870 #70ECF8
tetradic
#F870EC #F8C070 #70F87C #70A8F8
square
#F870EC #F8C070 #70F87C #70A8F8
split-complementary
#F870EC #A8F870 #70F8C0
monochromatic
#E30BD0 #F536E4 #F870EC #FBAAF4 #FEE2FB

Accessibility & contrast

On white

2.46
#F870EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#F870EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870EC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870EC#FFFFFF#000000##000000
##F870EC1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#93ACE8
Tritanopia (blue-blind)
#FF7CA4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f870ec;
/* rgb */ color: rgb(248, 112, 236);
/* oklch */ color: oklch(75.0% 0.218 331.0);
Tailwind
colors: {
  custom: {
    50: '#fd9ff2',
    500: '#f870ec',
    950: '#000000',
  },
}
SCSS
$custom: #f870ec;
$custom-light: #fd9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#f870ec",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 305.294,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74977,
    "c": 0.21826,
    "h": 331
  },
  "luminance": 0.37601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F870EC

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

Preview Lab → · Contrast checker → · Palette generator →

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