#F06BFE#F06BFE

#F06BFE is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 74.3% C 0.236 H 323.8°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#F06BFE
RGBrgb(240, 107, 254)
HSLhsl(294, 99%, 71%)
HSVhsv(294, 58%, 100%)
CMYKcmyk(5.5%, 57.9%, 0%, 0.4%)
CIE-LABlab(66.67, 70.37, -50.31)
CIE-LCHlch(66.67, 86.51, 324.44°)
OKLaboklab(74.25% 0.1903 -0.1395)
OKLCHoklch(74.25% 0.236 323.8)
XYZxyz(59.0806, 36.1996, 97.6220)
Luminance0.3620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06BFE #79FE6B
analogous
#A66BFE #F06BFE #FE6BC2
triadic
#F06BFE #FEF06B #6BFEF0
tetradic
#F06BFE #FEA66B #79FE6B #6BC2FE
square
#F06BFE #FEA66B #79FE6B #6BC2FE
split-complementary
#F06BFE #C2FE6B #6BFEA6
monochromatic
#D702ED #EA2EFE #F06BFE #F6A8FE #FCE1FF

Accessibility & contrast

On white

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

On black

8.24
#F06BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06BFE
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06BFE#FFFFFF#000000##000000
##F06BFE1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#81A8FA
Tritanopia (blue-blind)
#F480AB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f06bfe;
/* rgb */ color: rgb(240, 107, 254);
/* oklch */ color: oklch(74.3% 0.236 323.8);
Tailwind
colors: {
  custom: {
    50: '#f89cff',
    500: '#f06bfe',
    950: '#000000',
  },
}
SCSS
$custom: #f06bfe;
$custom-light: #f89cff;
$custom-dark: #000000;
JSON
{
  "hex": "#f06bfe",
  "rgb": {
    "r": 240,
    "g": 107,
    "b": 254
  },
  "hsl": {
    "h": 294.286,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74253,
    "c": 0.23594,
    "h": 323.8
  },
  "luminance": 0.36196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F06BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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