#F06BFC#F06BFC

#F06BFC is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 74.2% C 0.234 H 324.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#F06BFC
RGBrgb(240, 107, 252)
HSLhsl(295, 96%, 70%)
HSVhsv(295, 58%, 99%)
CMYKcmyk(4.8%, 57.5%, 0%, 1.2%)
CIE-LABlab(66.58, 70.02, -49.37)
CIE-LCHlch(66.58, 85.68, 324.81°)
OKLaboklab(74.15% 0.1902 -0.1367)
OKLCHoklch(74.15% 0.234 324.3)
XYZxyz(58.7620, 36.0721, 95.9440)
Luminance0.3607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06BFC #77FC6B
analogous
#A76BFC #F06BFC #FC6BC0
triadic
#F06BFC #FCF06B #6BFCF0
tetradic
#F06BFC #FCA76B #77FC6B #6BC0FC
square
#F06BFC #FCA76B #77FC6B #6BC0FC
split-complementary
#F06BFC #C0FC6B #6BFCA7
monochromatic
#D505E8 #EA2FFB #F06BFC #F6A7FD #FCE1FE

Accessibility & contrast

On white

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

On black

8.21
#F06BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06BFC
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06BFC#FFFFFF#000000##000000
##F06BFC1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#82A8F8
Tritanopia (blue-blind)
#F47FAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f06bfc;
/* rgb */ color: rgb(240, 107, 252);
/* oklch */ color: oklch(74.2% 0.234 324.3);
Tailwind
colors: {
  custom: {
    50: '#f89cfe',
    500: '#f06bfc',
    950: '#000000',
  },
}
SCSS
$custom: #f06bfc;
$custom-light: #f89cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#f06bfc",
  "rgb": {
    "r": 240,
    "g": 107,
    "b": 252
  },
  "hsl": {
    "h": 295.034,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.7415,
    "c": 0.23423,
    "h": 324.3
  },
  "luminance": 0.36069
}

Semantic roles & 50–950 ramp

primary
#F06BFC
secondary
#D1F5CE
accent
#E60013
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F06BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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