#F87EFA#F87EFA

#F87EFA is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.4% C 0.209 H 326.8°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#F87EFA
RGBrgb(248, 126, 250)
HSLhsl(299, 93%, 74%)
HSVhsv(299, 50%, 98%)
CMYKcmyk(0.8%, 49.6%, 0%, 2%)
CIE-LABlab(70.72, 63.13, -41.69)
CIE-LCHlch(70.72, 75.66, 326.56°)
OKLaboklab(77.38% 0.1748 -0.1145)
OKLCHoklch(77.38% 0.209 326.8)
XYZxyz(63.4264, 41.7838, 95.1482)
Luminance0.4178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EFA #80FA7E
analogous
#BA7EFA #F87EFA #FA7EBE
triadic
#F87EFA #FAF87E #7EFAF8
tetradic
#F87EFA #FABA7E #80FA7E #7EBEFA
square
#F87EFA #FABA7E #80FA7E #7EBEFA
split-complementary
#F87EFA #BEFA7E #7EFABA
monochromatic
#F009F4 #F543F8 #F87EFA #FBB9FC #FDE2FE

Accessibility & contrast

On white

2.24
#F87EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#F87EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EFA
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EFA#FFFFFF#000000##000000
##F87EFA1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#96B3F6
Tritanopia (blue-blind)
#FE8CB1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f87efa;
/* rgb */ color: rgb(248, 126, 250);
/* oklch */ color: oklch(77.4% 0.209 326.8);
Tailwind
colors: {
  custom: {
    50: '#fda8fc',
    500: '#f87efa',
    950: '#000000',
  },
}
SCSS
$custom: #f87efa;
$custom-light: #fda8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f87efa",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 299.032,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77379,
    "c": 0.20896,
    "h": 326.8
  },
  "luminance": 0.4178
}

Semantic roles & 50–950 ramp

primary
#F87EFA
secondary
#D6F6D5
accent
#E60004
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F87EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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