#F287EA#F287EA

#F287EA is a light, vivid purple. Relative luminance 0.421; OKLCH L 77.2% C 0.177 H 329.9°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#F287EA
RGBrgb(242, 135, 234)
HSLhsl(304, 80%, 74%)
HSVhsv(304, 44%, 95%)
CMYKcmyk(0%, 44.2%, 3.3%, 5.1%)
CIE-LABlab(70.97, 54.35, -32.59)
CIE-LCHlch(70.97, 63.37, 329.05°)
OKLaboklab(77.19% 0.1532 -0.0888)
OKLCHoklch(77.19% 0.177 329.9)
XYZxyz(60.1325, 42.1490, 82.7942)
Luminance0.4215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287EA #87F28F
analogous
#C587F2 #F287EA #F287B5
triadic
#F287EA #EAF287 #87EAF2
tetradic
#F287EA #F2C587 #87F28F #87B5F2
square
#F287EA #F2C587 #87F28F #87B5F2
split-complementary
#F287EA #B5F287 #87F2C5
monochromatic
#E619D6 #EC50E0 #F287EA #F8BEF4 #FCE3FA

Accessibility & contrast

On white

2.23
#F287EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#F287EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287EA
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287EA#FFFFFF#000000##000000
##F287EA1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5ED
Deuteranopia (green-blind)
#9FB3E7
Tritanopia (blue-blind)
#F990AE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f287ea;
/* rgb */ color: rgb(242, 135, 234);
/* oklch */ color: oklch(77.2% 0.177 329.9);
Tailwind
colors: {
  custom: {
    50: '#f8adf1',
    500: '#f287ea',
    950: '#000000',
  },
}
SCSS
$custom: #f287ea;
$custom-light: #f8adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#f287ea",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 304.486,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77192,
    "c": 0.17702,
    "h": 329.9
  },
  "luminance": 0.42146
}

Semantic roles & 50–950 ramp

primary
#F287EA
secondary
#D7F4D9
accent
#DD1909
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F287EA

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

Preview Lab → · Contrast checker → · Palette generator →

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