#F287FA#F287FA

#F287FA is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.9% C 0.191 H 324.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#F287FA
RGBrgb(242, 135, 250)
HSLhsl(296, 92%, 75%)
HSVhsv(296, 46%, 98%)
CMYKcmyk(3.2%, 46%, 0%, 2%)
CIE-LABlab(71.63, 57.16, -40.33)
CIE-LCHlch(71.63, 69.96, 324.80°)
OKLaboklab(77.9% 0.1561 -0.1108)
OKLCHoklch(77.9% 0.191 324.6)
XYZxyz(62.5357, 43.1102, 95.4510)
Luminance0.4311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287FA #8FFA87
analogous
#B887FA #F287FA #FA87C8
triadic
#F287FA #FAF287 #87FAF2
tetradic
#F287FA #FAB887 #8FFA87 #87C8FA
square
#F287FA #FAB887 #8FFA87 #87C8FA
split-complementary
#F287FA #C8FA87 #87FAB8
monochromatic
#E511F5 #EC4CF8 #F287FA #F8C2FC #FCE2FE

Accessibility & contrast

On white

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

On black

9.62
#F287FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287FA
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287FA#FFFFFF#000000##000000
##F287FA1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#99B4F7
Tritanopia (blue-blind)
#F694B5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f287fa;
/* rgb */ color: rgb(242, 135, 250);
/* oklch */ color: oklch(77.9% 0.191 324.6);
Tailwind
colors: {
  custom: {
    50: '#f8adfc',
    500: '#f287fa',
    950: '#000000',
  },
}
SCSS
$custom: #f287fa;
$custom-light: #f8adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#f287fa",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 295.826,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77896,
    "c": 0.19143,
    "h": 324.6
  },
  "luminance": 0.43107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F287FA

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

Preview Lab → · Contrast checker → · Palette generator →

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