#F06FE2#F06FE2

#F06FE2 is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 73.4% C 0.207 H 331.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#F06FE2
RGBrgb(240, 111, 226)
HSLhsl(307, 81%, 69%)
HSVhsv(307, 54%, 94%)
CMYKcmyk(0%, 53.8%, 5.8%, 5.9%)
CIE-LABlab(66.05, 63.87, -35.83)
CIE-LCHlch(66.05, 73.23, 330.71°)
OKLaboklab(73.38% 0.1822 -0.0978)
OKLCHoklch(73.38% 0.207 331.8)
XYZxyz(55.3469, 35.3888, 75.8523)
Luminance0.3538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06FE2 #6FF07D
analogous
#BE6FF0 #F06FE2 #F06FA2
triadic
#F06FE2 #E2F06F #6FE2F0
tetradic
#F06FE2 #F0BE6F #6FF07D #6FA2F0
square
#F06FE2 #F0BE6F #6FF07D #6FA2F0
split-complementary
#F06FE2 #A2F06F #6FF0BE
monochromatic
#CF16BB #EA38D7 #F06FE2 #F6A6ED #FCDEF8

Accessibility & contrast

On white

2.60
#F06FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#F06FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06FE2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06FE2#FFFFFF#000000##000000
##F06FE21.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A95E6
Deuteranopia (green-blind)
#91A7DE
Tritanopia (blue-blind)
#F9799F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f06fe2;
/* rgb */ color: rgb(240, 111, 226);
/* oklch */ color: oklch(73.4% 0.207 331.8);
Tailwind
colors: {
  custom: {
    50: '#f89eeb',
    500: '#f06fe2',
    950: '#000000',
  },
}
SCSS
$custom: #f06fe2;
$custom-light: #f89eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f06fe2",
  "rgb": {
    "r": 240,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 306.512,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73381,
    "c": 0.20679,
    "h": 331.8
  },
  "luminance": 0.35385
}

Semantic roles & 50–950 ramp

primary
#F06FE2
secondary
#CAF0CE
accent
#DD1F08
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F06FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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