#F286EC#F286EC

#F286EC is a light, vivid purple. Relative luminance 0.420; OKLCH L 77.1% C 0.180 H 329.2°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#F286EC
RGBrgb(242, 134, 236)
HSLhsl(303, 81%, 74%)
HSVhsv(303, 45%, 95%)
CMYKcmyk(0%, 44.6%, 2.5%, 5.1%)
CIE-LABlab(70.86, 55.19, -33.86)
CIE-LCHlch(70.86, 64.75, 328.47°)
OKLaboklab(77.13% 0.155 -0.0924)
OKLCHoklch(77.13% 0.18 329.2)
XYZxyz(60.2826, 41.9868, 84.2696)
Luminance0.4198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F286EC #86F28C
analogous
#C286F2 #F286EC #F286B6
triadic
#F286EC #ECF286 #86ECF2
tetradic
#F286EC #F2C286 #86F28C #86B6F2
square
#F286EC #F2C286 #86F28C #86B6F2
split-complementary
#F286EC #B6F286 #86F2C2
monochromatic
#E519DA #EC4FE3 #F286EC #F8BDF5 #FCE3FB

Accessibility & contrast

On white

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

On black

9.40
#F286EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F286EC
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F286EC#FFFFFF#000000##000000
##F286EC1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4F0
Deuteranopia (green-blind)
#9EB3E9
Tritanopia (blue-blind)
#F98FAE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f286ec;
/* rgb */ color: rgb(242, 134, 236);
/* oklch */ color: oklch(77.1% 0.180 329.2);
Tailwind
colors: {
  custom: {
    50: '#f8acf2',
    500: '#f286ec',
    950: '#000000',
  },
}
SCSS
$custom: #f286ec;
$custom-light: #f8acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#f286ec",
  "rgb": {
    "r": 242,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 303.333,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77135,
    "c": 0.1804,
    "h": 329.2
  },
  "luminance": 0.41984
}

Semantic roles & 50–950 ramp

primary
#F286EC
secondary
#D7F4D9
accent
#DD1409
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F286EC

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

Preview Lab → · Contrast checker → · Palette generator →

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