#FA87EC#FA87EC

#FA87EC is a light, vivid purple. Relative luminance 0.437; OKLCH L 78.2% C 0.184 H 331.8°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#FA87EC
RGBrgb(250, 135, 236)
HSLhsl(307, 92%, 75%)
HSVhsv(307, 46%, 98%)
CMYKcmyk(0%, 46%, 5.6%, 2%)
CIE-LABlab(72.04, 57.01, -31.97)
CIE-LCHlch(72.04, 65.36, 330.72°)
OKLaboklab(78.22% 0.1623 -0.0869)
OKLCHoklch(78.22% 0.184 331.8)
XYZxyz(63.2282, 43.7118, 84.4475)
Luminance0.4371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA87EC #87FA95
analogous
#CE87FA #FA87EC #FA87B3
triadic
#FA87EC #ECFA87 #87ECFA
tetradic
#FA87EC #FACE87 #87FA95 #87B3FA
square
#FA87EC #FACE87 #87FA95 #87B3FA
split-complementary
#FA87EC #B3FA87 #87FACE
monochromatic
#F511D9 #F84CE3 #FA87EC #FCC2F5 #FEE2FA

Accessibility & contrast

On white

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

On black

9.74
#FA87EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA87EC
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA87EC#FFFFFF#000000##000000
##FA87EC1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EF
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#FF8FAF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #fa87ec;
/* rgb */ color: rgb(250, 135, 236);
/* oklch */ color: oklch(78.2% 0.184 331.8);
Tailwind
colors: {
  custom: {
    50: '#feadf2',
    500: '#fa87ec',
    950: '#000000',
  },
}
SCSS
$custom: #fa87ec;
$custom-light: #feadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#fa87ec",
  "rgb": {
    "r": 250,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 307.304,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78217,
    "c": 0.18409,
    "h": 331.8
  },
  "luminance": 0.43708
}

Semantic roles & 50–950 ramp

primary
#FA87EC
secondary
#D5F6D9
accent
#E61C00
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181017
muted
#867F85

Preview Lab

Preview with #FA87EC

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

Preview Lab → · Contrast checker → · Palette generator →

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