#F286EF#F286EF

#F286EF is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.3% C 0.183 H 328.2°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#F286EF
RGBrgb(242, 134, 239)
HSLhsl(302, 81%, 74%)
HSVhsv(302, 45%, 95%)
CMYKcmyk(0%, 44.6%, 1.2%, 5.1%)
CIE-LABlab(70.98, 55.71, -35.32)
CIE-LCHlch(70.98, 65.96, 327.62°)
OKLaboklab(77.27% 0.1555 -0.0965)
OKLCHoklch(77.27% 0.183 328.2)
XYZxyz(60.7221, 42.1626, 86.5844)
Luminance0.4216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F286EF #86F289
analogous
#BF86F2 #F286EF #F286B9
triadic
#F286EF #EFF286 #86EFF2
tetradic
#F286EF #F2BF86 #86F289 #86B9F2
square
#F286EF #F2BF86 #86F289 #86B9F2
split-complementary
#F286EF #B9F286 #86F2BF
monochromatic
#E519DF #EC4FE8 #F286EF #F8BDF6 #FCE3FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F286EF#FFFFFF#000000##000000
##F286EF1.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)
#7EA5F3
Deuteranopia (green-blind)
#9CB3EC
Tritanopia (blue-blind)
#F890AF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f286ef;
/* rgb */ color: rgb(242, 134, 239);
/* oklch */ color: oklch(77.3% 0.183 328.2);
Tailwind
colors: {
  custom: {
    50: '#f8acf4',
    500: '#f286ef',
    950: '#000000',
  },
}
SCSS
$custom: #f286ef;
$custom-light: #f8acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f286ef",
  "rgb": {
    "r": 242,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 301.667,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77265,
    "c": 0.18305,
    "h": 328.2
  },
  "luminance": 0.42159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F286EF

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

Preview Lab → · Contrast checker → · Palette generator →

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