#F286F9#F286F9

#F286F9 is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.7% C 0.192 H 325.0°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#F286F9
RGBrgb(242, 134, 249)
HSLhsl(296, 91%, 75%)
HSVhsv(296, 46%, 98%)
CMYKcmyk(2.8%, 46.2%, 0%, 2.4%)
CIE-LABlab(71.40, 57.47, -40.14)
CIE-LCHlch(71.40, 70.10, 325.07°)
OKLaboklab(77.71% 0.1573 -0.1103)
OKLCHoklch(77.71% 0.192 325)
XYZxyz(62.2404, 42.7700, 94.5811)
Luminance0.4277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F286F9 #8DF986
analogous
#B986F9 #F286F9 #F986C6
triadic
#F286F9 #F9F286 #86F9F2
tetradic
#F286F9 #F9B986 #8DF986 #86C6F9
square
#F286F9 #F9B986 #8DF986 #86C6F9
split-complementary
#F286F9 #C6F986 #86F9B9
monochromatic
#E511F3 #EC4CF6 #F286F9 #F8C0FC #FCE2FE

Accessibility & contrast

On white

2.20
#F286F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#F286F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F286F9
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F286F9#FFFFFF#000000##000000
##F286F91.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FD
Deuteranopia (green-blind)
#98B4F6
Tritanopia (blue-blind)
#F793B4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f286f9;
/* rgb */ color: rgb(242, 134, 249);
/* oklch */ color: oklch(77.7% 0.192 325.0);
Tailwind
colors: {
  custom: {
    50: '#f8acfb',
    500: '#f286f9',
    950: '#000000',
  },
}
SCSS
$custom: #f286f9;
$custom-light: #f8acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#f286f9",
  "rgb": {
    "r": 242,
    "g": 134,
    "b": 249
  },
  "hsl": {
    "h": 296.348,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7771,
    "c": 0.1921,
    "h": 325
  },
  "luminance": 0.42767
}

Semantic roles & 50–950 ramp

primary
#F286F9
secondary
#D7F6D5
accent
#E6000E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F286F9

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

Preview Lab → · Contrast checker → · Palette generator →

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