#F07AF7#F07AF7

#F07AF7 is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 75.8% C 0.208 H 325.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#F07AF7
RGBrgb(240, 122, 247)
HSLhsl(297, 89%, 72%)
HSVhsv(297, 51%, 97%)
CMYKcmyk(2.8%, 50.6%, 0%, 3.1%)
CIE-LABlab(68.87, 62.34, -43.02)
CIE-LCHlch(68.87, 75.75, 325.39°)
OKLaboklab(75.76% 0.1708 -0.1185)
OKLCHoklch(75.76% 0.208 325.3)
XYZxyz(59.6819, 39.1628, 92.3932)
Luminance0.3916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07AF7 #81F77A
analogous
#B27AF7 #F07AF7 #F77AC0
triadic
#F07AF7 #F7F07A #7AF7F0
tetradic
#F07AF7 #F7B27A #81F77A #7AC0F7
square
#F07AF7 #F7B27A #81F77A #7AC0F7
split-complementary
#F07AF7 #C0F77A #7AF7B2
monochromatic
#DC0EE9 #E940F4 #F07AF7 #F7B4FA #FCE2FD

Accessibility & contrast

On white

2.38
#F07AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#F07AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07AF7
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07AF7#FFFFFF#000000##000000
##F07AF71.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFB
Deuteranopia (green-blind)
#8FADF3
Tritanopia (blue-blind)
#F589AE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07af7;
/* rgb */ color: rgb(240, 122, 247);
/* oklch */ color: oklch(75.8% 0.208 325.3);
Tailwind
colors: {
  custom: {
    50: '#f7a5fa',
    500: '#f07af7',
    950: '#000000',
  },
}
SCSS
$custom: #f07af7;
$custom-light: #f7a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f07af7",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 296.64,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75757,
    "c": 0.2079,
    "h": 325.3
  },
  "luminance": 0.3916
}

Semantic roles & 50–950 ramp

primary
#F07AF7
secondary
#D7F5D6
accent
#E5000D
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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