#F287FC#F287FC

#F287FC is a light, vivid purple. Relative luminance 0.432; OKLCH L 78.0% C 0.193 H 324.0°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#F287FC
RGBrgb(242, 135, 252)
HSLhsl(295, 95%, 76%)
HSVhsv(295, 46%, 99%)
CMYKcmyk(4%, 46.4%, 0%, 1.2%)
CIE-LABlab(71.72, 57.52, -41.28)
CIE-LCHlch(71.72, 70.81, 324.33°)
OKLaboklab(77.99% 0.1564 -0.1136)
OKLCHoklch(77.99% 0.193 324)
XYZxyz(62.8510, 43.2363, 97.1114)
Luminance0.4323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287FC #91FC87
analogous
#B787FC #F287FC #FC87CB
triadic
#F287FC #FCF287 #87FCF2
tetradic
#F287FC #FCB787 #91FC87 #87CBFC
square
#F287FC #FCB787 #91FC87 #87CBFC
split-complementary
#F287FC #CBFC87 #87FCB7
monochromatic
#E510F9 #EC4BFB #F287FC #F8C3FD #FCE1FE

Accessibility & contrast

On white

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

On black

9.65
#F287FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287FC
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287FC#FFFFFF#000000##000000
##F287FC1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f287fc;
/* rgb */ color: rgb(242, 135, 252);
/* oklch */ color: oklch(78.0% 0.193 324.0);
Tailwind
colors: {
  custom: {
    50: '#f8adfd',
    500: '#f287fc',
    950: '#000000',
  },
}
SCSS
$custom: #f287fc;
$custom-light: #f8adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f287fc",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 294.872,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77987,
    "c": 0.19329,
    "h": 324
  },
  "luminance": 0.43233
}

Semantic roles & 50–950 ramp

primary
#F287FC
secondary
#D7F6D5
accent
#E60014
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171018
muted
#857F86

Preview Lab

Preview with #F287FC

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

Preview Lab → · Contrast checker → · Palette generator →

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