#F287EF#F287EF

#F287EF is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.4% C 0.181 H 328.2°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#F287EF
RGBrgb(242, 135, 239)
HSLhsl(302, 80%, 74%)
HSVhsv(302, 44%, 95%)
CMYKcmyk(0%, 44.2%, 1.2%, 5.1%)
CIE-LABlab(71.17, 55.21, -35.03)
CIE-LCHlch(71.17, 65.39, 327.61°)
OKLaboklab(77.41% 0.1541 -0.0957)
OKLCHoklch(77.41% 0.181 328.2)
XYZxyz(60.8609, 42.4403, 86.6307)
Luminance0.4244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287EF #87F28A
analogous
#C087F2 #F287EF #F287BA
triadic
#F287EF #EFF287 #87EFF2
tetradic
#F287EF #F2C087 #87F28A #87BAF2
square
#F287EF #F2C087 #87F28A #87BAF2
split-complementary
#F287EF #BAF287 #87F2C0
monochromatic
#E619E0 #EC50E8 #F287EF #F8BEF6 #FCE3FB

Accessibility & contrast

On white

2.21
#F287EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#F287EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287EF
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287EF#FFFFFF#000000##000000
##F287EF1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F3
Deuteranopia (green-blind)
#9DB3EC
Tritanopia (blue-blind)
#F891B0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f287ef;
/* rgb */ color: rgb(242, 135, 239);
/* oklch */ color: oklch(77.4% 0.181 328.2);
Tailwind
colors: {
  custom: {
    50: '#f8adf4',
    500: '#f287ef',
    950: '#000000',
  },
}
SCSS
$custom: #f287ef;
$custom-light: #f8adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f287ef",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 301.682,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77407,
    "c": 0.18142,
    "h": 328.2
  },
  "luminance": 0.42437
}

Semantic roles & 50–950 ramp

primary
#F287EF
secondary
#D7F4D8
accent
#DD0F09
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F287EF

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

Preview Lab → · Contrast checker → · Palette generator →

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