#F06AFD#F06AFD

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

Color values

HEX#F06AFD
RGBrgb(240, 106, 253)
HSLhsl(295, 97%, 70%)
HSVhsv(295, 58%, 99%)
CMYKcmyk(5.1%, 58.1%, 0%, 0.8%)
CIE-LABlab(66.47, 70.63, -50.09)
CIE-LCHlch(66.47, 86.59, 324.65°)
OKLaboklab(74.09% 0.1914 -0.1388)
OKLCHoklch(74.09% 0.236 324.1)
XYZxyz(58.8173, 35.9284, 96.7463)
Luminance0.3593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06AFD #77FD6A
analogous
#A66AFD #F06AFD #FD6AC0
triadic
#F06AFD #FDF06A #6AFDF0
tetradic
#F06AFD #FDA66A #77FD6A #6AC0FD
square
#F06AFD #FDA66A #77FD6A #6AC0FD
split-complementary
#F06AFD #C0FD6A #6AFDA6
monochromatic
#D503E9 #EA2EFC #F06AFD #F6A6FE #FCE1FF

Accessibility & contrast

On white

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

On black

8.18
#F06AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06AFD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06AFD#FFFFFF#000000##000000
##F06AFD1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#F47FAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f06afd;
/* rgb */ color: rgb(240, 106, 253);
/* oklch */ color: oklch(74.1% 0.236 324.1);
Tailwind
colors: {
  custom: {
    50: '#f89bfe',
    500: '#f06afd',
    950: '#000000',
  },
}
SCSS
$custom: #f06afd;
$custom-light: #f89bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#f06afd",
  "rgb": {
    "r": 240,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 294.694,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74086,
    "c": 0.23647,
    "h": 324.1
  },
  "luminance": 0.35925
}

Semantic roles & 50–950 ramp

primary
#F06AFD
secondary
#D1F6CD
accent
#E60014
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F06AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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