#F87FEB#F87FEB

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

Color values

HEX#F87FEB
RGBrgb(248, 127, 235)
HSLhsl(306, 90%, 74%)
HSVhsv(306, 49%, 97%)
CMYKcmyk(0%, 48.8%, 5.2%, 2.7%)
CIE-LABlab(70.27, 60.12, -34.17)
CIE-LCHlch(70.27, 69.15, 330.39°)
OKLaboklab(76.84% 0.171 -0.0931)
OKLCHoklch(76.84% 0.195 331.4)
XYZxyz(61.2958, 41.1371, 83.2929)
Luminance0.4113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FEB #7FF88C
analogous
#C87FF8 #F87FEB #F87FAE
triadic
#F87FEB #EBF87F #7FEBF8
tetradic
#F87FEB #F8C87F #7FF88C #7FAEF8
square
#F87FEB #F8C87F #7FF88C #7FAEF8
split-complementary
#F87FEB #AEF87F #7FF8C8
monochromatic
#F00DD7 #F545E2 #F87FEB #FBB9F4 #FDE2FA

Accessibility & contrast

On white

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

On black

9.23
#F87FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FEB
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FEB#FFFFFF#000000##000000
##F87FEB1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f87feb;
/* rgb */ color: rgb(248, 127, 235);
/* oklch */ color: oklch(76.8% 0.195 331.4);
Tailwind
colors: {
  custom: {
    50: '#fda8f1',
    500: '#f87feb',
    950: '#000000',
  },
}
SCSS
$custom: #f87feb;
$custom-light: #fda8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f87feb",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 306.446,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76841,
    "c": 0.19467,
    "h": 331.4
  },
  "luminance": 0.41133
}

Semantic roles & 50–950 ramp

primary
#F87FEB
secondary
#D6F5D9
accent
#E61900
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F87FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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