#F286E2#F286E2

#F286E2 is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.7% C 0.172 H 332.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#F286E2
RGBrgb(242, 134, 226)
HSLhsl(309, 81%, 74%)
HSVhsv(309, 45%, 95%)
CMYKcmyk(0%, 44.6%, 6.6%, 5.1%)
CIE-LABlab(70.47, 53.49, -28.97)
CIE-LCHlch(70.47, 60.83, 331.56°)
OKLaboklab(76.71% 0.1529 -0.0785)
OKLCHoklch(76.71% 0.172 332.8)
XYZxyz(58.8702, 41.4219, 76.8312)
Luminance0.4142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F286E2 #86F296
analogous
#CC86F2 #F286E2 #F286AC
triadic
#F286E2 #E2F286 #86E2F2
tetradic
#F286E2 #F2CC86 #86F296 #86ACF2
square
#F286E2 #F2CC86 #86F296 #86ACF2
split-complementary
#F286E2 #ACF286 #86F2CC
monochromatic
#E519C7 #EC4FD5 #F286E2 #F8BDEF #FCE3F8

Accessibility & contrast

On white

2.26
#F286E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#F286E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F286E2
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F286E2#FFFFFF#000000##000000
##F286E21.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A3E5
Deuteranopia (green-blind)
#A1B2DF
Tritanopia (blue-blind)
#FB8DAA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f286e2;
/* rgb */ color: rgb(242, 134, 226);
/* oklch */ color: oklch(76.7% 0.172 332.8);
Tailwind
colors: {
  custom: {
    50: '#f8aceb',
    500: '#f286e2',
    950: '#000000',
  },
}
SCSS
$custom: #f286e2;
$custom-light: #f8aceb;
$custom-dark: #000000;
JSON
{
  "hex": "#f286e2",
  "rgb": {
    "r": 242,
    "g": 134,
    "b": 226
  },
  "hsl": {
    "h": 308.889,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76714,
    "c": 0.17186,
    "h": 332.8
  },
  "luminance": 0.41418
}

Semantic roles & 50–950 ramp

primary
#F286E2
secondary
#D7F4DB
accent
#DD2809
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F286E2

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

Preview Lab → · Contrast checker → · Palette generator →

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