#F07AF8#F07AF8

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

Color values

HEX#F07AF8
RGBrgb(240, 122, 248)
HSLhsl(296, 90%, 73%)
HSVhsv(296, 51%, 97%)
CMYKcmyk(3.2%, 50.8%, 0%, 2.7%)
CIE-LABlab(68.91, 62.52, -43.50)
CIE-LCHlch(68.91, 76.16, 325.17°)
OKLaboklab(75.81% 0.171 -0.1199)
OKLCHoklch(75.81% 0.209 325)
XYZxyz(59.8366, 39.2247, 93.2081)
Luminance0.3922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07AF8 #82F87A
analogous
#B17AF8 #F07AF8 #F87AC1
triadic
#F07AF8 #F8F07A #7AF8F0
tetradic
#F07AF8 #F8B17A #82F87A #7AC1F8
square
#F07AF8 #F8B17A #82F87A #7AC1F8
split-complementary
#F07AF8 #C1F87A #7AF8B1
monochromatic
#DD0CEB #E940F5 #F07AF8 #F7B4FB #FCE2FD

Accessibility & contrast

On white

2.37
#F07AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#F07AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07AF8
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07AF8#FFFFFF#000000##000000
##F07AF81.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f07af8;
/* rgb */ color: rgb(240, 122, 248);
/* oklch */ color: oklch(75.8% 0.209 325.0);
Tailwind
colors: {
  custom: {
    50: '#f7a5fb',
    500: '#f07af8',
    950: '#000000',
  },
}
SCSS
$custom: #f07af8;
$custom-light: #f7a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f07af8",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 296.19,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75805,
    "c": 0.20879,
    "h": 325
  },
  "luminance": 0.39222
}

Semantic roles & 50–950 ramp

primary
#F07AF8
secondary
#D7F6D5
accent
#E6000F
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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