#F07AFC#F07AFC

#F07AFC is a light, highly saturated purple. Relative luminance 0.395; OKLCH L 76.0% C 0.212 H 323.8°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#F07AFC
RGBrgb(240, 122, 252)
HSLhsl(294, 96%, 73%)
HSVhsv(294, 52%, 99%)
CMYKcmyk(4.8%, 51.6%, 0%, 1.2%)
CIE-LABlab(69.09, 63.23, -45.40)
CIE-LCHlch(69.09, 77.85, 324.32°)
OKLaboklab(76% 0.1714 -0.1254)
OKLCHoklch(76% 0.212 323.8)
XYZxyz(60.4638, 39.4756, 96.5113)
Luminance0.3947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07AFC #86FC7A
analogous
#AF7AFC #F07AFC #FC7AC7
triadic
#F07AFC #FCF07A #7AFCF0
tetradic
#F07AFC #FCAF7A #86FC7A #7AC7FC
square
#F07AFC #FCAF7A #86FC7A #7AC7FC
split-complementary
#F07AFC #C7FC7A #7AFCAF
monochromatic
#E006F6 #E93EFB #F07AFC #F7B6FD #FCE1FE

Accessibility & contrast

On white

2.36
#F07AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#F07AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07AFC
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07AFC#FFFFFF#000000##000000
##F07AFC1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#8DAEF8
Tritanopia (blue-blind)
#F48BB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07afc;
/* rgb */ color: rgb(240, 122, 252);
/* oklch */ color: oklch(76.0% 0.212 323.8);
Tailwind
colors: {
  custom: {
    50: '#f7a5fe',
    500: '#f07afc',
    950: '#000000',
  },
}
SCSS
$custom: #f07afc;
$custom-light: #f7a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f07afc",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 294.462,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75997,
    "c": 0.21239,
    "h": 323.8
  },
  "luminance": 0.39473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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