#FA87F2#FA87F2

#FA87F2 is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.5% C 0.189 H 329.8°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#FA87F2
RGBrgb(250, 135, 242)
HSLhsl(304, 92%, 75%)
HSVhsv(304, 46%, 98%)
CMYKcmyk(0%, 46%, 3.2%, 2%)
CIE-LABlab(72.27, 58.02, -34.89)
CIE-LCHlch(72.27, 67.70, 328.98°)
OKLaboklab(78.47% 0.1635 -0.0951)
OKLCHoklch(78.47% 0.189 329.8)
XYZxyz(64.1146, 44.0663, 89.1158)
Luminance0.4406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA87F2 #87FA8F
analogous
#C887FA #FA87F2 #FA87B8
triadic
#FA87F2 #F2FA87 #87F2FA
tetradic
#FA87F2 #FAC887 #87FA8F #87B8FA
square
#FA87F2 #FAC887 #87FA8F #87B8FA
split-complementary
#FA87F2 #B8FA87 #87FAC8
monochromatic
#F511E5 #F84CEC #FA87F2 #FCC2F8 #FEE2FC

Accessibility & contrast

On white

2.14
#FA87F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#FA87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA87F2
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA87F2#FFFFFF#000000##000000
##FA87F21.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A7F6
Deuteranopia (green-blind)
#A1B7EF
Tritanopia (blue-blind)
#FF91B1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #fa87f2;
/* rgb */ color: rgb(250, 135, 242);
/* oklch */ color: oklch(78.5% 0.189 329.8);
Tailwind
colors: {
  custom: {
    50: '#feadf6',
    500: '#fa87f2',
    950: '#000000',
  },
}
SCSS
$custom: #fa87f2;
$custom-light: #feadf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fa87f2",
  "rgb": {
    "r": 250,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 304.174,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78472,
    "c": 0.18916,
    "h": 329.8
  },
  "luminance": 0.44063
}

Semantic roles & 50–950 ramp

primary
#FA87F2
secondary
#D5F6D7
accent
#E61000
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#181017
muted
#867F85

Preview Lab

Preview with #FA87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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