#F287FF#F287FF

#F287FF is a light, vivid purple. Relative luminance 0.434; OKLCH L 78.1% C 0.196 H 323.1°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#F287FF
RGBrgb(242, 135, 255)
HSLhsl(294, 100%, 76%)
HSVhsv(294, 47%, 100%)
CMYKcmyk(5.1%, 47.1%, 0%, 0%)
CIE-LABlab(71.84, 58.07, -42.71)
CIE-LCHlch(71.84, 72.09, 323.66°)
OKLaboklab(78.13% 0.1569 -0.1177)
OKLCHoklch(78.13% 0.196 323.1)
XYZxyz(63.3301, 43.4280, 99.6349)
Luminance0.4343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287FF #94FF87
analogous
#B687FF #F287FF #FF87D0
triadic
#F287FF #FFF287 #87FFF2
tetradic
#F287FF #FFB687 #94FF87 #87D0FF
square
#F287FF #FFB687 #94FF87 #87D0FF
split-complementary
#F287FF #D0FF87 #87FFB6
monochromatic
#E50DFF #EB4AFF #F287FF #F9C4FF #FCE0FF

Accessibility & contrast

On white

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

On black

9.69
#F287FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287FF
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287FF#FFFFFF#000000##000000
##F287FF1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A8FF
Deuteranopia (green-blind)
#96B4FB
Tritanopia (blue-blind)
#F696B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f287ff;
/* rgb */ color: rgb(242, 135, 255);
/* oklch */ color: oklch(78.1% 0.196 323.1);
Tailwind
colors: {
  custom: {
    50: '#f8adff',
    500: '#f287ff',
    950: '#000000',
  },
}
SCSS
$custom: #f287ff;
$custom-light: #f8adff;
$custom-dark: #000000;
JSON
{
  "hex": "#f287ff",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 293.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78125,
    "c": 0.1961,
    "h": 323.1
  },
  "luminance": 0.43425
}

Semantic roles & 50–950 ramp

primary
#F287FF
secondary
#D8F7D4
accent
#E60019
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#171018
muted
#857F86

Preview Lab

Preview with #F287FF

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

Preview Lab → · Contrast checker → · Palette generator →

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