#F06DF7#F06DF7

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

Color values

HEX#F06DF7
RGBrgb(240, 109, 247)
HSLhsl(297, 90%, 70%)
HSVhsv(297, 56%, 97%)
CMYKcmyk(2.8%, 55.9%, 0%, 3.1%)
CIE-LABlab(66.66, 68.28, -46.49)
CIE-LCHlch(66.66, 82.60, 325.75°)
OKLaboklab(74.13% 0.1873 -0.1284)
OKLCHoklch(74.13% 0.227 325.6)
XYZxyz(58.1911, 36.1812, 91.8963)
Luminance0.3618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06DF7 #74F76D
analogous
#AB6DF7 #F06DF7 #F76DB9
triadic
#F06DF7 #F7F06D #6DF7F0
tetradic
#F06DF7 #F7AB6D #74F76D #6DB9F7
square
#F06DF7 #F7AB6D #74F76D #6DB9F7
split-complementary
#F06DF7 #B9F76D #6DF7AB
monochromatic
#D30CDD #EA33F4 #F06DF7 #F6A7FA #FCE1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F06DF7#FFFFFF#000000##000000
##F06DF71.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)
#5A98FB
Deuteranopia (green-blind)
#86A8F3
Tritanopia (blue-blind)
#F57FA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f06df7;
/* rgb */ color: rgb(240, 109, 247);
/* oklch */ color: oklch(74.1% 0.227 325.6);
Tailwind
colors: {
  custom: {
    50: '#f89dfa',
    500: '#f06df7',
    950: '#000000',
  },
}
SCSS
$custom: #f06df7;
$custom-light: #f89dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#f06df7",
  "rgb": {
    "r": 240,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 296.957,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74134,
    "c": 0.22713,
    "h": 325.6
  },
  "luminance": 0.36178
}

Semantic roles & 50–950 ramp

primary
#F06DF7
secondary
#CEF3CC
accent
#E6000C
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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