#F07CF9#F07CF9

#F07CF9 is a light, highly saturated purple. Relative luminance 0.398; OKLCH L 76.1% C 0.207 H 324.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F07CF9
RGBrgb(240, 124, 249)
HSLhsl(296, 91%, 73%)
HSVhsv(296, 50%, 98%)
CMYKcmyk(3.6%, 50.2%, 0%, 2.4%)
CIE-LABlab(69.31, 61.75, -43.42)
CIE-LCHlch(69.31, 75.49, 324.89°)
OKLaboklab(76.11% 0.1685 -0.1197)
OKLCHoklch(76.11% 0.207 324.6)
XYZxyz(60.2402, 39.7831, 94.1100)
Luminance0.3978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CF9 #85F97C
analogous
#B17CF9 #F07CF9 #F97CC3
triadic
#F07CF9 #F9F07C #7CF9F0
tetradic
#F07CF9 #F9B17C #85F97C #7CC3F9
square
#F07CF9 #F9B17C #85F97C #7CC3F9
split-complementary
#F07CF9 #C3F97C #7CF9B1
monochromatic
#DF0BF0 #E941F6 #F07CF9 #F7B7FC #FCE2FE

Accessibility & contrast

On white

2.34
#F07CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#F07CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CF9
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CF9#FFFFFF#000000##000000
##F07CF91.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FD
Deuteranopia (green-blind)
#90AEF5
Tritanopia (blue-blind)
#F58BAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07cf9;
/* rgb */ color: rgb(240, 124, 249);
/* oklch */ color: oklch(76.1% 0.207 324.6);
Tailwind
colors: {
  custom: {
    50: '#f7a6fb',
    500: '#f07cf9',
    950: '#000000',
  },
}
SCSS
$custom: #f07cf9;
$custom-light: #f7a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cf9",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 295.68,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76115,
    "c": 0.20663,
    "h": 324.6
  },
  "luminance": 0.3978
}

Semantic roles & 50–950 ramp

primary
#F07CF9
secondary
#D8F6D5
accent
#E60011
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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