#F06FEC#F06FEC

#F06FEC is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 73.8% C 0.215 H 328.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#F06FEC
RGBrgb(240, 111, 236)
HSLhsl(302, 81%, 69%)
HSVhsv(302, 54%, 94%)
CMYKcmyk(0%, 53.8%, 1.7%, 5.9%)
CIE-LABlab(66.48, 65.52, -40.70)
CIE-LCHlch(66.48, 77.13, 328.15°)
OKLaboklab(73.84% 0.1836 -0.1117)
OKLCHoklch(73.84% 0.215 328.7)
XYZxyz(56.7592, 35.9538, 83.2908)
Luminance0.3595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06FEC #6FF073
analogous
#B46FF0 #F06FEC #F06FAC
triadic
#F06FEC #ECF06F #6FECF0
tetradic
#F06FEC #F0B46F #6FF073 #6FACF0
square
#F06FEC #F0B46F #6FF073 #6FACF0
split-complementary
#F06FEC #ACF06F #6FF0B4
monochromatic
#CF16C9 #EA38E5 #F06FEC #F6A6F3 #FCDEFB

Accessibility & contrast

On white

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

On black

8.19
#F06FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06FEC
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06FEC#FFFFFF#000000##000000
##F06FEC1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#8DA8E8
Tritanopia (blue-blind)
#F77DA4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f06fec;
/* rgb */ color: rgb(240, 111, 236);
/* oklch */ color: oklch(73.8% 0.215 328.7);
Tailwind
colors: {
  custom: {
    50: '#f89ef2',
    500: '#f06fec',
    950: '#000000',
  },
}
SCSS
$custom: #f06fec;
$custom-light: #f89ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#f06fec",
  "rgb": {
    "r": 240,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 301.86,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73842,
    "c": 0.21495,
    "h": 328.7
  },
  "luminance": 0.3595
}

Semantic roles & 50–950 ramp

primary
#F06FEC
secondary
#CAF0CC
accent
#DD0F08
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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