#F862FB#F862FB

#F862FB is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 74.1% C 0.250 H 326.9°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#F862FB
RGBrgb(248, 98, 251)
HSLhsl(299, 95%, 68%)
HSVhsv(299, 61%, 98%)
CMYKcmyk(1.2%, 61%, 0%, 1.6%)
CIE-LABlab(66.26, 75.52, -49.25)
CIE-LCHlch(66.26, 90.15, 326.89°)
OKLaboklab(74.13% 0.2092 -0.1361)
OKLCHoklch(74.13% 0.25 326.9)
XYZxyz(60.4906, 35.6607, 94.9452)
Luminance0.3566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F862FB #65FB62
analogous
#AC62FB #F862FB #FB62B1
triadic
#F862FB #FBF862 #62FBF8
tetradic
#F862FB #FBAC62 #65FB62 #62B1FB
square
#F862FB #FBAC62 #65FB62 #62B1FB
split-complementary
#F862FB #B1FB62 #62FBAC
monochromatic
#D906DD #F526F9 #F862FB #FB9EFD #FDD9FE

Accessibility & contrast

On white

2.58
#F862FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#F862FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F862FB
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F862FB#FFFFFF#000000##000000
##F862FB1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#FF76A6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f862fb;
/* rgb */ color: rgb(248, 98, 251);
/* oklch */ color: oklch(74.1% 0.250 326.9);
Tailwind
colors: {
  custom: {
    50: '#fe98fd',
    500: '#f862fb',
    950: '#000000',
  },
}
SCSS
$custom: #f862fb;
$custom-light: #fe98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f862fb",
  "rgb": {
    "r": 248,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 298.824,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.74128,
    "c": 0.24955,
    "h": 326.9
  },
  "luminance": 0.35657
}

Semantic roles & 50–950 ramp

primary
#F862FB
secondary
#C6F3C5
accent
#E60004
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E18
muted
#867E86

Preview Lab

Preview with #F862FB

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

Preview Lab → · Contrast checker → · Palette generator →

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