#F06FEF#F06FEF

#F06FEF is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 74.0% C 0.217 H 327.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#F06FEF
RGBrgb(240, 111, 239)
HSLhsl(300, 81%, 69%)
HSVhsv(300, 54%, 94%)
CMYKcmyk(0%, 53.8%, 0.4%, 5.9%)
CIE-LABlab(66.62, 66.02, -42.14)
CIE-LCHlch(66.62, 78.33, 327.45°)
OKLaboklab(73.99% 0.184 -0.1159)
OKLCHoklch(73.99% 0.217 327.8)
XYZxyz(57.1987, 36.1296, 85.6056)
Luminance0.3613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06FEF #6FF070
analogous
#B16FF0 #F06FEF #F06FAF
triadic
#F06FEF #EFF06F #6FEFF0
tetradic
#F06FEF #F0B16F #6FF070 #6FAFF0
square
#F06FEF #F0B16F #6FF070 #6FAFF0
split-complementary
#F06FEF #AFF06F #6FF0B1
monochromatic
#CF16CE #EA38E9 #F06FEF #F6A6F5 #FCDEFB

Accessibility & contrast

On white

2.55
#F06FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#F06FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06FEF
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06FEF#FFFFFF#000000##000000
##F06FEF1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#8BA8EB
Tritanopia (blue-blind)
#F77EA5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f06fef;
/* rgb */ color: rgb(240, 111, 239);
/* oklch */ color: oklch(74.0% 0.217 327.8);
Tailwind
colors: {
  custom: {
    50: '#f89ef4',
    500: '#f06fef',
    950: '#000000',
  },
}
SCSS
$custom: #f06fef;
$custom-light: #f89ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#f06fef",
  "rgb": {
    "r": 240,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 300.465,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73985,
    "c": 0.21746,
    "h": 327.8
  },
  "luminance": 0.36126
}

Semantic roles & 50–950 ramp

primary
#F06FEF
secondary
#CAF0CB
accent
#DD0A08
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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