#F87FEA#F87FEA

#F87FEA is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.8% C 0.194 H 331.8°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#F87FEA
RGBrgb(248, 127, 234)
HSLhsl(307, 90%, 74%)
HSVhsv(307, 49%, 97%)
CMYKcmyk(0%, 48.8%, 5.6%, 2.7%)
CIE-LABlab(70.23, 59.96, -33.68)
CIE-LCHlch(70.23, 68.77, 330.67°)
OKLaboklab(76.8% 0.1708 -0.0917)
OKLCHoklch(76.8% 0.194 331.8)
XYZxyz(61.1517, 41.0795, 82.5341)
Luminance0.4108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FEA #7FF88D
analogous
#C97FF8 #F87FEA #F87FAD
triadic
#F87FEA #EAF87F #7FEAF8
tetradic
#F87FEA #F8C97F #7FF88D #7FADF8
square
#F87FEA #F8C97F #7FF88D #7FADF8
split-complementary
#F87FEA #ADF87F #7FF8C9
monochromatic
#F00DD5 #F545E0 #F87FEA #FBB9F4 #FDE2FA

Accessibility & contrast

On white

2.28
#F87FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#F87FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FEA
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FEA#FFFFFF#000000##000000
##F87FEA1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1EE
Deuteranopia (green-blind)
#9EB2E7
Tritanopia (blue-blind)
#FF88AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f87fea;
/* rgb */ color: rgb(248, 127, 234);
/* oklch */ color: oklch(76.8% 0.194 331.8);
Tailwind
colors: {
  custom: {
    50: '#fda8f1',
    500: '#f87fea',
    950: '#000000',
  },
}
SCSS
$custom: #f87fea;
$custom-light: #fda8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fea",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 306.942,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76798,
    "c": 0.19385,
    "h": 331.8
  },
  "luminance": 0.41076
}

Semantic roles & 50–950 ramp

primary
#F87FEA
secondary
#D6F5D9
accent
#E61B00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F87FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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