#F06DFB#F06DFB

#F06DFB is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.3% C 0.231 H 324.5°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#F06DFB
RGBrgb(240, 109, 251)
HSLhsl(295, 95%, 71%)
HSVhsv(295, 57%, 98%)
CMYKcmyk(4.4%, 56.6%, 0%, 1.6%)
CIE-LABlab(66.85, 68.97, -48.39)
CIE-LCHlch(66.85, 84.26, 324.95°)
OKLaboklab(74.33% 0.1877 -0.1339)
OKLCHoklch(74.33% 0.231 324.5)
XYZxyz(58.8149, 36.4308, 95.1820)
Luminance0.3643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06DFB #78FB6D
analogous
#A96DFB #F06DFB #FB6DBF
triadic
#F06DFB #FBF06D #6DFBF0
tetradic
#F06DFB #FBA96D #78FB6D #6DBFFB
square
#F06DFB #FBA96D #78FB6D #6DBFFB
split-complementary
#F06DFB #BFFB6D #6DFBA9
monochromatic
#D606E7 #EA31F9 #F06DFB #F6A9FD #FCE1FE

Accessibility & contrast

On white

2.53
#F06DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#F06DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06DFB
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06DFB#FFFFFF#000000##000000
##F06DFB1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#F580AA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f06dfb;
/* rgb */ color: rgb(240, 109, 251);
/* oklch */ color: oklch(74.3% 0.231 324.5);
Tailwind
colors: {
  custom: {
    50: '#f89dfd',
    500: '#f06dfb',
    950: '#000000',
  },
}
SCSS
$custom: #f06dfb;
$custom-light: #f89dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f06dfb",
  "rgb": {
    "r": 240,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 295.352,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74334,
    "c": 0.23056,
    "h": 324.5
  },
  "luminance": 0.36428
}

Semantic roles & 50–950 ramp

primary
#F06DFB
secondary
#D2F5CF
accent
#E60012
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F06DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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