#F07AFF#F07AFF

#F07AFF is a light, highly saturated purple. Relative luminance 0.397; OKLCH L 76.1% C 0.215 H 323.0°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#F07AFF
RGBrgb(240, 122, 255)
HSLhsl(293, 100%, 74%)
HSVhsv(293, 52%, 100%)
CMYKcmyk(5.9%, 52.2%, 0%, 0%)
CIE-LABlab(69.23, 63.77, -46.83)
CIE-LCHlch(69.23, 79.12, 323.71°)
OKLaboklab(76.14% 0.1718 -0.1295)
OKLCHoklch(76.14% 0.215 323)
XYZxyz(60.9429, 39.6673, 99.0348)
Luminance0.3966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07AFF #89FF7A
analogous
#AE7AFF #F07AFF #FF7ACC
triadic
#F07AFF #FFF07A #7AFFF0
tetradic
#F07AFF #FFAE7A #89FF7A #7ACCFF
square
#F07AFF #FFAE7A #89FF7A #7ACCFF
split-complementary
#F07AFF #CCFF7A #7AFFAE
monochromatic
#E200FF #E93DFF #F07AFF #F7B7FF #FCE0FF

Accessibility & contrast

On white

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

On black

8.93
#F07AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07AFF
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07AFF#FFFFFF#000000##000000
##F07AFF1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#8BAEFB
Tritanopia (blue-blind)
#F38CB2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07aff;
/* rgb */ color: rgb(240, 122, 255);
/* oklch */ color: oklch(76.1% 0.215 323.0);
Tailwind
colors: {
  custom: {
    50: '#f7a5ff',
    500: '#f07aff',
    950: '#000000',
  },
}
SCSS
$custom: #f07aff;
$custom-light: #f7a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f07aff",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 293.233,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76143,
    "c": 0.21511,
    "h": 323
  },
  "luminance": 0.39664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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