#F06AF8#F06AF8

#F06AF8 is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.8% C 0.232 H 325.4°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#F06AF8
RGBrgb(240, 106, 248)
HSLhsl(297, 91%, 69%)
HSVhsv(297, 57%, 97%)
CMYKcmyk(3.2%, 57.3%, 0%, 2.7%)
CIE-LABlab(66.22, 69.76, -47.73)
CIE-LCHlch(66.22, 84.52, 325.62°)
OKLaboklab(73.83% 0.1911 -0.132)
OKLCHoklch(73.83% 0.232 325.4)
XYZxyz(58.0312, 35.6140, 92.6063)
Luminance0.3561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06AF8 #72F86A
analogous
#A96AF8 #F06AF8 #F86AB9
triadic
#F06AF8 #F8F06A #6AF8F0
tetradic
#F06AF8 #F8A96A #72F86A #6AB9F8
square
#F06AF8 #F8A96A #72F86A #6AB9F8
split-complementary
#F06AF8 #B9F86A #6AF8A9
monochromatic
#D10ADD #EA30F5 #F06AF8 #F6A4FB #FCDFFD

Accessibility & contrast

On white

2.59
#F06AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#F06AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06AF8
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06AF8#FFFFFF#000000##000000
##F06AF81.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#F57DA8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06af8;
/* rgb */ color: rgb(240, 106, 248);
/* oklch */ color: oklch(73.8% 0.232 325.4);
Tailwind
colors: {
  custom: {
    50: '#f89bfb',
    500: '#f06af8',
    950: '#000000',
  },
}
SCSS
$custom: #f06af8;
$custom-light: #f89bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#f06af8",
  "rgb": {
    "r": 240,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 296.62,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73832,
    "c": 0.23222,
    "h": 325.4
  },
  "luminance": 0.35611
}

Semantic roles & 50–950 ramp

primary
#F06AF8
secondary
#CDF3CA
accent
#E6000D
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F17
muted
#867E85

Preview Lab

Preview with #F06AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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