#F862F2#F862F2

#F862F2 is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.7% C 0.242 H 329.3°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#F862F2
RGBrgb(248, 98, 242)
HSLhsl(302, 91%, 68%)
HSVhsv(302, 60%, 97%)
CMYKcmyk(0%, 60.5%, 2.4%, 2.7%)
CIE-LABlab(65.83, 74.05, -44.96)
CIE-LCHlch(65.83, 86.63, 328.74°)
OKLaboklab(73.68% 0.2085 -0.1237)
OKLCHoklch(73.68% 0.242 329.3)
XYZxyz(59.1055, 35.1067, 87.6503)
Luminance0.3510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F862F2 #62F868
analogous
#B362F8 #F862F2 #F862A7
triadic
#F862F2 #F2F862 #62F2F8
tetradic
#F862F2 #F8B362 #62F868 #62A7F8
square
#F862F2 #F8B362 #62F868 #62A7F8
split-complementary
#F862F2 #A7F862 #62F8B3
monochromatic
#D60ACE #F527ED #F862F2 #FB9DF7 #FDD7FC

Accessibility & contrast

On white

2.62
#F862F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#F862F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F862F2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F862F2#FFFFFF#000000##000000
##F862F21.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#88A7EE
Tritanopia (blue-blind)
#FF73A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f862f2;
/* rgb */ color: rgb(248, 98, 242);
/* oklch */ color: oklch(73.7% 0.242 329.3);
Tailwind
colors: {
  custom: {
    50: '#fe97f7',
    500: '#f862f2',
    950: '#000000',
  },
}
SCSS
$custom: #f862f2;
$custom-light: #fe97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f862f2",
  "rgb": {
    "r": 248,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 302.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73678,
    "c": 0.24246,
    "h": 329.3
  },
  "luminance": 0.35103
}

Semantic roles & 50–950 ramp

primary
#F862F2
secondary
#C4F2C6
accent
#E60900
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F862F2

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

Preview Lab → · Contrast checker → · Palette generator →

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