#F06DF8#F06DF8

#F06DF8 is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 74.2% C 0.228 H 325.3°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#F06DF8
RGBrgb(240, 109, 248)
HSLhsl(297, 91%, 70%)
HSVhsv(297, 56%, 97%)
CMYKcmyk(3.2%, 56%, 0%, 2.7%)
CIE-LABlab(66.71, 68.45, -46.97)
CIE-LCHlch(66.71, 83.02, 325.54°)
OKLaboklab(74.18% 0.1874 -0.1298)
OKLCHoklch(74.18% 0.228 325.3)
XYZxyz(58.3458, 36.2431, 92.7111)
Luminance0.3624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06DF8 #75F86D
analogous
#AB6DF8 #F06DF8 #F86DBA
triadic
#F06DF8 #F8F06D #6DF8F0
tetradic
#F06DF8 #F8AB6D #75F86D #6DBAF8
square
#F06DF8 #F8AB6D #75F86D #6DBAF8
split-complementary
#F06DF8 #BAF86D #6DF8AB
monochromatic
#D40BE0 #EA33F5 #F06DF8 #F6A7FB #FCE2FE

Accessibility & contrast

On white

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

On black

8.25
#F06DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06DF8
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06DF8#FFFFFF#000000##000000
##F06DF81.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#86A8F4
Tritanopia (blue-blind)
#F57FA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f06df8;
/* rgb */ color: rgb(240, 109, 248);
/* oklch */ color: oklch(74.2% 0.228 325.3);
Tailwind
colors: {
  custom: {
    50: '#f89dfb',
    500: '#f06df8',
    950: '#000000',
  },
}
SCSS
$custom: #f06df8;
$custom-light: #f89dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#f06df8",
  "rgb": {
    "r": 240,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 296.547,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.74183,
    "c": 0.22798,
    "h": 325.3
  },
  "luminance": 0.3624
}

Semantic roles & 50–950 ramp

primary
#F06DF8
secondary
#CFF4CD
accent
#E6000D
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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