#F864F2#F864F2

#F864F2 is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 73.9% C 0.240 H 329.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#F864F2
RGBrgb(248, 100, 242)
HSLhsl(302, 91%, 68%)
HSVhsv(302, 60%, 97%)
CMYKcmyk(0%, 59.7%, 2.4%, 2.7%)
CIE-LABlab(66.13, 73.24, -44.50)
CIE-LCHlch(66.13, 85.70, 328.72°)
OKLaboklab(73.89% 0.2062 -0.1224)
OKLCHoklch(73.89% 0.24 329.3)
XYZxyz(59.2950, 35.4856, 87.7135)
Luminance0.3548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F864F2 #64F86A
analogous
#B464F8 #F864F2 #F864A8
triadic
#F864F2 #F2F864 #64F2F8
tetradic
#F864F2 #F8B464 #64F86A #64A8F8
square
#F864F2 #F8B464 #64F86A #64A8F8
split-complementary
#F864F2 #A8F864 #64F8B4
monochromatic
#D80ACF #F529ED #F864F2 #FB9FF7 #FDD9FC

Accessibility & contrast

On white

2.59
#F864F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#F864F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F864F2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F864F2#FFFFFF#000000##000000
##F864F21.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#89A8EE
Tritanopia (blue-blind)
#FF74A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f864f2;
/* rgb */ color: rgb(248, 100, 242);
/* oklch */ color: oklch(73.9% 0.240 329.3);
Tailwind
colors: {
  custom: {
    50: '#fe98f7',
    500: '#f864f2',
    950: '#000000',
  },
}
SCSS
$custom: #f864f2;
$custom-light: #fe98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f864f2",
  "rgb": {
    "r": 248,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 302.432,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.73891,
    "c": 0.23981,
    "h": 329.3
  },
  "luminance": 0.35482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F864F2

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

Preview Lab → · Contrast checker → · Palette generator →

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