#F287FB#F287FB

#F287FB is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.9% C 0.192 H 324.3°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#F287FB
RGBrgb(242, 135, 251)
HSLhsl(295, 94%, 76%)
HSVhsv(295, 46%, 98%)
CMYKcmyk(3.6%, 46.2%, 0%, 1.6%)
CIE-LABlab(71.67, 57.34, -40.81)
CIE-LCHlch(71.67, 70.38, 324.56°)
OKLaboklab(77.94% 0.1563 -0.1122)
OKLCHoklch(77.94% 0.192 324.3)
XYZxyz(62.6929, 43.1731, 96.2790)
Luminance0.4317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287FB #90FB87
analogous
#B887FB #F287FB #FB87CA
triadic
#F287FB #FBF287 #87FBF2
tetradic
#F287FB #FBB887 #90FB87 #87CAFB
square
#F287FB #FBB887 #90FB87 #87CAFB
split-complementary
#F287FB #CAFB87 #87FBB8
monochromatic
#E511F7 #EC4CF9 #F287FB #F8C2FD #FCE1FE

Accessibility & contrast

On white

2.18
#F287FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#F287FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287FB
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287FB#FFFFFF#000000##000000
##F287FB1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#98B4F8
Tritanopia (blue-blind)
#F694B5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f287fb;
/* rgb */ color: rgb(242, 135, 251);
/* oklch */ color: oklch(77.9% 0.192 324.3);
Tailwind
colors: {
  custom: {
    50: '#f8adfd',
    500: '#f287fb',
    950: '#000000',
  },
}
SCSS
$custom: #f287fb;
$custom-light: #f8adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f287fb",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 295.345,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77941,
    "c": 0.19236,
    "h": 324.3
  },
  "luminance": 0.4317
}

Semantic roles & 50–950 ramp

primary
#F287FB
secondary
#D7F6D5
accent
#E60012
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171017
muted
#857F85

Preview Lab

Preview with #F287FB

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

Preview Lab → · Contrast checker → · Palette generator →

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