#F887EF#F887EF

#F887EF is a light, vivid purple. Relative luminance 0.435; OKLCH L 78.1% C 0.185 H 330.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#F887EF
RGBrgb(248, 135, 239)
HSLhsl(305, 89%, 75%)
HSVhsv(305, 46%, 97%)
CMYKcmyk(0%, 45.6%, 3.6%, 2.7%)
CIE-LABlab(71.91, 56.94, -33.83)
CIE-LCHlch(71.91, 66.23, 329.28°)
OKLaboklab(78.11% 0.1607 -0.0922)
OKLCHoklch(78.11% 0.185 330.2)
XYZxyz(62.9547, 43.5199, 86.7288)
Luminance0.4352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F887EF #87F890
analogous
#C987F8 #F887EF #F887B6
triadic
#F887EF #EFF887 #87EFF8
tetradic
#F887EF #F8C987 #87F890 #87B6F8
square
#F887EF #F8C987 #87F890 #87B6F8
split-complementary
#F887EF #B6F887 #87F8C9
monochromatic
#F113E0 #F54DE7 #F887EF #FBC1F7 #FDE2FB

Accessibility & contrast

On white

2.16
#F887EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#F887EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F887EF
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F887EF#FFFFFF#000000##000000
##F887EF1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F3
Deuteranopia (green-blind)
#A1B6EC
Tritanopia (blue-blind)
#FF90B0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f887ef;
/* rgb */ color: rgb(248, 135, 239);
/* oklch */ color: oklch(78.1% 0.185 330.2);
Tailwind
colors: {
  custom: {
    50: '#fdadf4',
    500: '#f887ef',
    950: '#000000',
  },
}
SCSS
$custom: #f887ef;
$custom-light: #fdadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f887ef",
  "rgb": {
    "r": 248,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 304.779,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78108,
    "c": 0.18529,
    "h": 330.2
  },
  "luminance": 0.43516
}

Semantic roles & 50–950 ramp

primary
#F887EF
secondary
#D6F5D8
accent
#E61200
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181017
muted
#867F85

Preview Lab

Preview with #F887EF

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

Preview Lab → · Contrast checker → · Palette generator →

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