#F06BF7#F06BF7

#F06BF7 is a light, highly saturated purple. Relative luminance 0.358; OKLCH L 73.9% C 0.230 H 325.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#F06BF7
RGBrgb(240, 107, 247)
HSLhsl(297, 90%, 69%)
HSVhsv(297, 57%, 97%)
CMYKcmyk(2.8%, 56.7%, 0%, 3.1%)
CIE-LABlab(66.34, 69.15, -47.00)
CIE-LCHlch(66.34, 83.61, 325.80°)
OKLaboklab(73.9% 0.1898 -0.1299)
OKLCHoklch(73.9% 0.23 325.6)
XYZxyz(57.9801, 35.7594, 91.8260)
Luminance0.3576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06BF7 #72F76B
analogous
#AA6BF7 #F06BF7 #F76BB8
triadic
#F06BF7 #F7F06B #6BF7F0
tetradic
#F06BF7 #F7AA6B #72F76B #6BB8F7
square
#F06BF7 #F7AA6B #72F76B #6BB8F7
split-complementary
#F06BF7 #B8F76B #6BF7AA
monochromatic
#D10CDC #EA31F4 #F06BF7 #F6A5FA #FCDFFD

Accessibility & contrast

On white

2.58
#F06BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#F06BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06BF7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06BF7#FFFFFF#000000##000000
##F06BF71.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#85A7F3
Tritanopia (blue-blind)
#F57DA7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06bf7;
/* rgb */ color: rgb(240, 107, 247);
/* oklch */ color: oklch(73.9% 0.230 325.6);
Tailwind
colors: {
  custom: {
    50: '#f89cfa',
    500: '#f06bf7',
    950: '#000000',
  },
}
SCSS
$custom: #f06bf7;
$custom-light: #f89cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#f06bf7",
  "rgb": {
    "r": 240,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 297,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73898,
    "c": 0.22996,
    "h": 325.6
  },
  "luminance": 0.35756
}

Semantic roles & 50–950 ramp

primary
#F06BF7
secondary
#CDF3CB
accent
#E6000B
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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