#F07AFE#F07AFE

#F07AFE is a light, highly saturated purple. Relative luminance 0.396; OKLCH L 76.1% C 0.214 H 323.3°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#F07AFE
RGBrgb(240, 122, 254)
HSLhsl(294, 99%, 74%)
HSVhsv(294, 52%, 100%)
CMYKcmyk(5.5%, 52%, 0%, 0.4%)
CIE-LABlab(69.19, 63.59, -46.35)
CIE-LCHlch(69.19, 78.69, 323.91°)
OKLaboklab(76.09% 0.1717 -0.1281)
OKLCHoklch(76.09% 0.214 323.3)
XYZxyz(60.7824, 39.6030, 98.1892)
Luminance0.3960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07AFE #88FE7A
analogous
#AE7AFE #F07AFE #FE7ACA
triadic
#F07AFE #FEF07A #7AFEF0
tetradic
#F07AFE #FEAE7A #88FE7A #7ACAFE
square
#F07AFE #FEAE7A #88FE7A #7ACAFE
split-complementary
#F07AFE #CAFE7A #7AFEAE
monochromatic
#E102FC #E93DFE #F07AFE #F7B7FE #FCE1FF

Accessibility & contrast

On white

2.35
#F07AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#F07AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07AFE
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07AFE#FFFFFF#000000##000000
##F07AFE1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#8CAEFA
Tritanopia (blue-blind)
#F48BB1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07afe;
/* rgb */ color: rgb(240, 122, 254);
/* oklch */ color: oklch(76.1% 0.214 323.3);
Tailwind
colors: {
  custom: {
    50: '#f7a5ff',
    500: '#f07afe',
    950: '#000000',
  },
}
SCSS
$custom: #f07afe;
$custom-light: #f7a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f07afe",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 293.636,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76094,
    "c": 0.2142,
    "h": 323.3
  },
  "luminance": 0.396
}

Semantic roles & 50–950 ramp

primary
#F07AFE
secondary
#D8F7D4
accent
#E60018
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F07AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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