#F07AF9#F07AF9

#F07AF9 is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.9% C 0.210 H 324.7°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#F07AF9
RGBrgb(240, 122, 249)
HSLhsl(296, 91%, 73%)
HSVhsv(296, 51%, 98%)
CMYKcmyk(3.6%, 51%, 0%, 2.4%)
CIE-LABlab(68.96, 62.70, -43.98)
CIE-LCHlch(68.96, 76.58, 324.95°)
OKLaboklab(75.85% 0.1711 -0.1213)
OKLCHoklch(75.85% 0.21 324.7)
XYZxyz(59.9921, 39.2869, 94.0273)
Luminance0.3928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07AF9 #83F97A
analogous
#B07AF9 #F07AF9 #F97AC2
triadic
#F07AF9 #F9F07A #7AF9F0
tetradic
#F07AF9 #F9B07A #83F97A #7AC2F9
square
#F07AF9 #F9B07A #83F97A #7AC2F9
split-complementary
#F07AF9 #C2F97A #7AF9B0
monochromatic
#DE0BEE #E93FF6 #F07AF9 #F7B5FC #FCE2FE

Accessibility & contrast

On white

2.37
#F07AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#F07AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07AF9
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07AF9#FFFFFF#000000##000000
##F07AF91.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFD
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#F58AAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07af9;
/* rgb */ color: rgb(240, 122, 249);
/* oklch */ color: oklch(75.9% 0.210 324.7);
Tailwind
colors: {
  custom: {
    50: '#f7a5fb',
    500: '#f07af9',
    950: '#000000',
  },
}
SCSS
$custom: #f07af9;
$custom-light: #f7a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f07af9",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 295.748,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75853,
    "c": 0.2097,
    "h": 324.7
  },
  "luminance": 0.39284
}

Semantic roles & 50–950 ramp

primary
#F07AF9
secondary
#D8F6D5
accent
#E60010
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F07AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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