#F087EA#F087EA

#F087EA is a light, vivid purple. Relative luminance 0.418; OKLCH L 77.0% C 0.176 H 329.2°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#F087EA
RGBrgb(240, 135, 234)
HSLhsl(303, 78%, 74%)
HSVhsv(303, 44%, 94%)
CMYKcmyk(0%, 43.8%, 2.5%, 5.9%)
CIE-LABlab(70.73, 53.76, -32.99)
CIE-LCHlch(70.73, 63.08, 328.47°)
OKLaboklab(76.96% 0.151 -0.0899)
OKLCHoklch(76.96% 0.176 329.2)
XYZxyz(59.4496, 41.7969, 82.7622)
Luminance0.4179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F087EA #87F08D
analogous
#C187F0 #F087EA #F087B5
triadic
#F087EA #EAF087 #87EAF0
tetradic
#F087EA #F0C187 #87F08D #87B5F0
square
#F087EA #F0C187 #87F08D #87B5F0
split-complementary
#F087EA #B5F087 #87F0C1
monochromatic
#E11CD5 #E951E0 #F087EA #F7BDF4 #FCE4FA

Accessibility & contrast

On white

2.24
#F087EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#F087EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F087EA
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F087EA#FFFFFF#000000##000000
##F087EA1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4ED
Deuteranopia (green-blind)
#9EB2E7
Tritanopia (blue-blind)
#F790AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f087ea;
/* rgb */ color: rgb(240, 135, 234);
/* oklch */ color: oklch(77.0% 0.176 329.2);
Tailwind
colors: {
  custom: {
    50: '#f7adf1',
    500: '#f087ea',
    950: '#000000',
  },
}
SCSS
$custom: #f087ea;
$custom-light: #f7adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#f087ea",
  "rgb": {
    "r": 240,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 303.429,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76959,
    "c": 0.1757,
    "h": 329.2
  },
  "luminance": 0.41794
}

Semantic roles & 50–950 ramp

primary
#F087EA
secondary
#D8F3D9
accent
#DA170B
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F087EA

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

Preview Lab → · Contrast checker → · Palette generator →

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