#F06AFC#F06AFC

#F06AFC is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 74.0% C 0.236 H 324.3°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#F06AFC
RGBrgb(240, 106, 252)
HSLhsl(295, 96%, 70%)
HSVhsv(295, 58%, 99%)
CMYKcmyk(4.8%, 57.9%, 0%, 1.2%)
CIE-LABlab(66.42, 70.45, -49.62)
CIE-LCHlch(66.42, 86.17, 324.84°)
OKLaboklab(74.04% 0.1914 -0.1374)
OKLCHoklch(74.04% 0.236 324.3)
XYZxyz(58.6584, 35.8648, 95.9095)
Luminance0.3586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06AFC #76FC6A
analogous
#A76AFC #F06AFC #FC6ABF
triadic
#F06AFC #FCF06A #6AFCF0
tetradic
#F06AFC #FCA76A #76FC6A #6ABFFC
square
#F06AFC #FCA76A #76FC6A #6ABFFC
split-complementary
#F06AFC #BFFC6A #6AFCA7
monochromatic
#D405E7 #EA2EFB #F06AFC #F6A6FD #FCE1FE

Accessibility & contrast

On white

2.57
#F06AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#F06AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06AFC
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06AFC#FFFFFF#000000##000000
##F06AFC1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#F57EAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06afc;
/* rgb */ color: rgb(240, 106, 252);
/* oklch */ color: oklch(74.0% 0.236 324.3);
Tailwind
colors: {
  custom: {
    50: '#f89bfe',
    500: '#f06afc',
    950: '#000000',
  },
}
SCSS
$custom: #f06afc;
$custom-light: #f89bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#f06afc",
  "rgb": {
    "r": 240,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 295.068,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74035,
    "c": 0.23562,
    "h": 324.3
  },
  "luminance": 0.35862
}

Semantic roles & 50–950 ramp

primary
#F06AFC
secondary
#D0F5CD
accent
#E60013
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F06AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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