#F87FEF#F87FEF

#F87FEF is a light, vivid purple. Relative luminance 0.414; OKLCH L 77.0% C 0.198 H 330.1°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#F87FEF
RGBrgb(248, 127, 239)
HSLhsl(304, 90%, 74%)
HSVhsv(304, 49%, 97%)
CMYKcmyk(0%, 48.8%, 3.6%, 2.7%)
CIE-LABlab(70.44, 60.79, -36.11)
CIE-LCHlch(70.44, 70.71, 329.29°)
OKLaboklab(77.02% 0.1717 -0.0986)
OKLCHoklch(77.02% 0.198 330.1)
XYZxyz(61.8802, 41.3709, 86.3707)
Luminance0.4137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FEF #7FF888
analogous
#C47FF8 #F87FEF #F87FB2
triadic
#F87FEF #EFF87F #7FEFF8
tetradic
#F87FEF #F8C47F #7FF888 #7FB2F8
square
#F87FEF #F8C47F #7FF888 #7FB2F8
split-complementary
#F87FEF #B2F87F #7FF8C4
monochromatic
#F00DDF #F545E8 #F87FEF #FBB9F6 #FDE2FB

Accessibility & contrast

On white

2.26
#F87FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#F87FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FEF
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FEF#FFFFFF#000000##000000
##F87FEF1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A2F3
Deuteranopia (green-blind)
#9CB2EB
Tritanopia (blue-blind)
#FF89AC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87fef;
/* rgb */ color: rgb(248, 127, 239);
/* oklch */ color: oklch(77.0% 0.198 330.1);
Tailwind
colors: {
  custom: {
    50: '#fda8f4',
    500: '#f87fef',
    950: '#000000',
  },
}
SCSS
$custom: #f87fef;
$custom-light: #fda8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fef",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 304.463,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77015,
    "c": 0.19799,
    "h": 330.1
  },
  "luminance": 0.41367
}

Semantic roles & 50–950 ramp

primary
#F87FEF
secondary
#D6F5D8
accent
#E61100
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F87FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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