#F286F5#F286F5

#F286F5 is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.5% C 0.188 H 326.2°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#F286F5
RGBrgb(242, 134, 245)
HSLhsl(298, 85%, 74%)
HSVhsv(298, 45%, 96%)
CMYKcmyk(1.2%, 45.3%, 0%, 3.9%)
CIE-LABlab(71.23, 56.76, -38.22)
CIE-LCHlch(71.23, 68.43, 326.04°)
OKLaboklab(77.53% 0.1566 -0.1048)
OKLCHoklch(77.53% 0.188 326.2)
XYZxyz(61.6232, 42.5231, 91.3303)
Luminance0.4252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F286F5 #89F586
analogous
#BB86F5 #F286F5 #F586C1
triadic
#F286F5 #F5F286 #86F5F2
tetradic
#F286F5 #F5BB86 #89F586 #86C1F5
square
#F286F5 #F5BB86 #89F586 #86C1F5
split-complementary
#F286F5 #C1F586 #86F5BB
monochromatic
#E615EC #EC4DF0 #F286F5 #F8BFFA #FCE3FD

Accessibility & contrast

On white

2.21
#F286F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#F286F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F286F5
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F286F5#FFFFFF#000000##000000
##F286F51.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA6F9
Deuteranopia (green-blind)
#9AB3F2
Tritanopia (blue-blind)
#F792B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f286f5;
/* rgb */ color: rgb(242, 134, 245);
/* oklch */ color: oklch(77.5% 0.188 326.2);
Tailwind
colors: {
  custom: {
    50: '#f8acf9',
    500: '#f286f5',
    950: '#000000',
  },
}
SCSS
$custom: #f286f5;
$custom-light: #f8acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#f286f5",
  "rgb": {
    "r": 242,
    "g": 134,
    "b": 245
  },
  "hsl": {
    "h": 298.378,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7753,
    "c": 0.18844,
    "h": 326.2
  },
  "luminance": 0.4252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F286F5

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

Preview Lab → · Contrast checker → · Palette generator →

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