#FA87E7#FA87E7

#FA87E7 is a light, vivid purple. Relative luminance 0.434; OKLCH L 78.0% C 0.180 H 333.6°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#FA87E7
RGBrgb(250, 135, 231)
HSLhsl(310, 92%, 75%)
HSVhsv(310, 46%, 98%)
CMYKcmyk(0%, 46%, 7.6%, 2%)
CIE-LABlab(71.84, 56.19, -29.52)
CIE-LCHlch(71.84, 63.47, 332.28°)
OKLaboklab(78.01% 0.1613 -0.0799)
OKLCHoklch(78.01% 0.18 333.6)
XYZxyz(62.5119, 43.4253, 80.6751)
Luminance0.4342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA87E7 #87FA9A
analogous
#D387FA #FA87E7 #FA87AD
triadic
#FA87E7 #E7FA87 #87E7FA
tetradic
#FA87E7 #FAD387 #87FA9A #87ADFA
square
#FA87E7 #FAD387 #87FA9A #87ADFA
split-complementary
#FA87E7 #ADFA87 #87FAD3
monochromatic
#F511CF #F84CDB #FA87E7 #FCC2F3 #FEE2F9

Accessibility & contrast

On white

2.17
#FA87E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#FA87E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA87E7
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA87E7#FFFFFF#000000##000000
##FA87E71.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A6EA
Deuteranopia (green-blind)
#A5B6E4
Tritanopia (blue-blind)
#FF8EAC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #fa87e7;
/* rgb */ color: rgb(250, 135, 231);
/* oklch */ color: oklch(78.0% 0.180 333.6);
Tailwind
colors: {
  custom: {
    50: '#feadef',
    500: '#fa87e7',
    950: '#000000',
  },
}
SCSS
$custom: #fa87e7;
$custom-light: #feadef;
$custom-dark: #000000;
JSON
{
  "hex": "#fa87e7",
  "rgb": {
    "r": 250,
    "g": 135,
    "b": 231
  },
  "hsl": {
    "h": 309.913,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7801,
    "c": 0.17999,
    "h": 333.6
  },
  "luminance": 0.43421
}

Semantic roles & 50–950 ramp

primary
#FA87E7
secondary
#D5F6DB
accent
#E62600
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #FA87E7

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

Preview Lab → · Contrast checker → · Palette generator →

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