#F07AFD#F07AFD

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

Color values

HEX#F07AFD
RGBrgb(240, 122, 253)
HSLhsl(294, 97%, 74%)
HSVhsv(294, 52%, 99%)
CMYKcmyk(5.1%, 51.8%, 0%, 0.8%)
CIE-LABlab(69.14, 63.41, -45.88)
CIE-LCHlch(69.14, 78.27, 324.11°)
OKLaboklab(76.05% 0.1716 -0.1267)
OKLCHoklch(76.05% 0.213 323.5)
XYZxyz(60.6226, 39.5391, 97.3481)
Luminance0.3954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07AFD #87FD7A
analogous
#AE7AFD #F07AFD #FD7AC8
triadic
#F07AFD #FDF07A #7AFDF0
tetradic
#F07AFD #FDAE7A #87FD7A #7AC8FD
square
#F07AFD #FDAE7A #87FD7A #7AC8FD
split-complementary
#F07AFD #C8FD7A #7AFDAE
monochromatic
#E104F9 #E93EFC #F07AFD #F7B6FE #FCE1FF

Accessibility & contrast

On white

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

On black

8.91
#F07AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07AFD
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07AFD#FFFFFF#000000##000000
##F07AFD1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f07afd;
/* rgb */ color: rgb(240, 122, 253);
/* oklch */ color: oklch(76.0% 0.213 323.5);
Tailwind
colors: {
  custom: {
    50: '#f7a5fe',
    500: '#f07afd',
    950: '#000000',
  },
}
SCSS
$custom: #f07afd;
$custom-light: #f7a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f07afd",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 294.046,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76045,
    "c": 0.2133,
    "h": 323.5
  },
  "luminance": 0.39536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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