#F06AFB#F06AFB

#F06AFB is a light, highly saturated purple. Relative luminance 0.358; OKLCH L 74.0% C 0.235 H 324.6°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#F06AFB
RGBrgb(240, 106, 251)
HSLhsl(295, 95%, 70%)
HSVhsv(295, 58%, 98%)
CMYKcmyk(4.4%, 57.8%, 0%, 1.6%)
CIE-LABlab(66.37, 70.28, -49.15)
CIE-LCHlch(66.37, 85.76, 325.03°)
OKLaboklab(73.98% 0.1913 -0.1361)
OKLCHoklch(73.98% 0.235 324.6)
XYZxyz(58.5003, 35.8016, 95.0771)
Luminance0.3580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06AFB #75FB6A
analogous
#A76AFB #F06AFB #FB6ABE
triadic
#F06AFB #FBF06A #6AFBF0
tetradic
#F06AFB #FBA76A #75FB6A #6ABEFB
square
#F06AFB #FBA76A #75FB6A #6ABEFB
split-complementary
#F06AFB #BEFB6A #6AFBA7
monochromatic
#D406E4 #EA2EF9 #F06AFB #F6A6FD #FCE1FE

Accessibility & contrast

On white

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

On black

8.16
#F06AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06AFB
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06AFB#FFFFFF#000000##000000
##F06AFB1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#F57EA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06afb;
/* rgb */ color: rgb(240, 106, 251);
/* oklch */ color: oklch(74.0% 0.235 324.6);
Tailwind
colors: {
  custom: {
    50: '#f89bfd',
    500: '#f06afb',
    950: '#000000',
  },
}
SCSS
$custom: #f06afb;
$custom-light: #f89bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f06afb",
  "rgb": {
    "r": 240,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 295.448,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.73984,
    "c": 0.23476,
    "h": 324.6
  },
  "luminance": 0.35798
}

Semantic roles & 50–950 ramp

primary
#F06AFB
secondary
#CFF5CC
accent
#E60011
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F06AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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