#F286F8#F286F8

#F286F8 is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.7% C 0.191 H 325.3°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#F286F8
RGBrgb(242, 134, 248)
HSLhsl(297, 89%, 75%)
HSVhsv(297, 46%, 97%)
CMYKcmyk(2.4%, 46%, 0%, 2.7%)
CIE-LABlab(71.36, 57.29, -39.66)
CIE-LCHlch(71.36, 69.68, 325.31°)
OKLaboklab(77.66% 0.1571 -0.1089)
OKLCHoklch(77.66% 0.191 325.3)
XYZxyz(62.0849, 42.7077, 93.7619)
Luminance0.4270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F286F8 #8CF886
analogous
#B986F8 #F286F8 #F886C5
triadic
#F286F8 #F8F286 #86F8F2
tetradic
#F286F8 #F8B986 #8CF886 #86C5F8
square
#F286F8 #F8B986 #8CF886 #86C5F8
split-complementary
#F286F8 #C5F886 #86F8B9
monochromatic
#E612F1 #EC4CF5 #F286F8 #F8C0FB #FCE2FD

Accessibility & contrast

On white

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

On black

9.54
#F286F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F286F8
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F286F8#FFFFFF#000000##000000
##F286F81.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#99B3F5
Tritanopia (blue-blind)
#F793B4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f286f8;
/* rgb */ color: rgb(242, 134, 248);
/* oklch */ color: oklch(77.7% 0.191 325.3);
Tailwind
colors: {
  custom: {
    50: '#f8acfb',
    500: '#f286f8',
    950: '#000000',
  },
}
SCSS
$custom: #f286f8;
$custom-light: #f8acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#f286f8",
  "rgb": {
    "r": 242,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 296.842,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77665,
    "c": 0.19118,
    "h": 325.3
  },
  "luminance": 0.42705
}

Semantic roles & 50–950 ramp

primary
#F286F8
secondary
#D7F5D6
accent
#E6000C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F286F8

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

Preview Lab → · Contrast checker → · Palette generator →

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