#F06DFE#F06DFE

#F06DFE is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.5% C 0.233 H 323.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#F06DFE
RGBrgb(240, 109, 254)
HSLhsl(294, 99%, 71%)
HSVhsv(294, 57%, 100%)
CMYKcmyk(5.5%, 57.1%, 0%, 0.4%)
CIE-LABlab(66.99, 69.50, -49.81)
CIE-LCHlch(66.99, 85.50, 324.37°)
OKLaboklab(74.49% 0.1879 -0.138)
OKLCHoklch(74.49% 0.233 323.7)
XYZxyz(59.2916, 36.6214, 97.6923)
Luminance0.3662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06DFE #7BFE6D
analogous
#A76DFE #F06DFE #FE6DC3
triadic
#F06DFE #FEF06D #6DFEF0
tetradic
#F06DFE #FEA76D #7BFE6D #6DC3FE
square
#F06DFE #FEA76D #7BFE6D #6DC3FE
split-complementary
#F06DFE #C3FE6D #6DFEA7
monochromatic
#D802EF #EA30FE #F06DFE #F6AAFE #FCE1FF

Accessibility & contrast

On white

2.52
#F06DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#F06DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06DFE
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06DFE#FFFFFF#000000##000000
##F06DFE1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#83A8FA
Tritanopia (blue-blind)
#F481AC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f06dfe;
/* rgb */ color: rgb(240, 109, 254);
/* oklch */ color: oklch(74.5% 0.233 323.7);
Tailwind
colors: {
  custom: {
    50: '#f89dff',
    500: '#f06dfe',
    950: '#000000',
  },
}
SCSS
$custom: #f06dfe;
$custom-light: #f89dff;
$custom-dark: #000000;
JSON
{
  "hex": "#f06dfe",
  "rgb": {
    "r": 240,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 294.207,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74486,
    "c": 0.23315,
    "h": 323.7
  },
  "luminance": 0.36618
}

Semantic roles & 50–950 ramp

primary
#F06DFE
secondary
#D4F6D0
accent
#E60016
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F06DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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