#F06AFF#F06AFF

#F06AFF is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 74.2% C 0.238 H 323.5°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#F06AFF
RGBrgb(240, 106, 255)
HSLhsl(294, 100%, 71%)
HSVhsv(294, 58%, 100%)
CMYKcmyk(5.9%, 58.4%, 0%, 0%)
CIE-LABlab(66.56, 70.98, -51.04)
CIE-LCHlch(66.56, 87.42, 324.28°)
OKLaboklab(74.19% 0.1916 -0.1415)
OKLCHoklch(74.19% 0.238 323.5)
XYZxyz(59.1375, 36.0565, 98.4330)
Luminance0.3605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06AFF #79FF6A
analogous
#A56AFF #F06AFF #FF6AC3
triadic
#F06AFF #FFF06A #6AFFF0
tetradic
#F06AFF #FFA56A #79FF6A #6AC3FF
square
#F06AFF #FFA56A #79FF6A #6AC3FF
split-complementary
#F06AFF #C3FF6A #6AFFA5
monochromatic
#D700EF #EA2DFF #F06AFF #F6A7FF #FCE0FF

Accessibility & contrast

On white

2.56
#F06AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#F06AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06AFF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06AFF#FFFFFF#000000##000000
##F06AFF1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5098FF
Deuteranopia (green-blind)
#80A7FB
Tritanopia (blue-blind)
#F47FAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f06aff;
/* rgb */ color: rgb(240, 106, 255);
/* oklch */ color: oklch(74.2% 0.238 323.5);
Tailwind
colors: {
  custom: {
    50: '#f89bff',
    500: '#f06aff',
    950: '#000000',
  },
}
SCSS
$custom: #f06aff;
$custom-light: #f89bff;
$custom-dark: #000000;
JSON
{
  "hex": "#f06aff",
  "rgb": {
    "r": 240,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 293.96,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74189,
    "c": 0.23818,
    "h": 323.5
  },
  "luminance": 0.36053
}

Semantic roles & 50–950 ramp

primary
#F06AFF
secondary
#D2F6CE
accent
#E60017
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F06AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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