#F06BF8#F06BF8

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

Color values

HEX#F06BF8
RGBrgb(240, 107, 248)
HSLhsl(297, 91%, 70%)
HSVhsv(297, 57%, 97%)
CMYKcmyk(3.2%, 56.9%, 0%, 2.7%)
CIE-LABlab(66.38, 69.33, -47.48)
CIE-LCHlch(66.38, 84.02, 325.60°)
OKLaboklab(73.95% 0.1899 -0.1312)
OKLCHoklch(73.95% 0.231 325.3)
XYZxyz(58.1348, 35.8213, 92.6408)
Luminance0.3582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06BF8 #73F86B
analogous
#AA6BF8 #F06BF8 #F86BB9
triadic
#F06BF8 #F8F06B #6BF8F0
tetradic
#F06BF8 #F8AA6B #73F86B #6BB9F8
square
#F06BF8 #F8AA6B #73F86B #6BB9F8
split-complementary
#F06BF8 #B9F86B #6BF8AA
monochromatic
#D20BDE #EA31F5 #F06BF8 #F6A5FB #FCE0FE

Accessibility & contrast

On white

2.57
#F06BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#F06BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06BF8
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06BF8#FFFFFF#000000##000000
##F06BF81.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#F57EA8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06bf8;
/* rgb */ color: rgb(240, 107, 248);
/* oklch */ color: oklch(73.9% 0.231 325.3);
Tailwind
colors: {
  custom: {
    50: '#f89cfb',
    500: '#f06bf8',
    950: '#000000',
  },
}
SCSS
$custom: #f06bf8;
$custom-light: #f89cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#f06bf8",
  "rgb": {
    "r": 240,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 296.596,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73948,
    "c": 0.23082,
    "h": 325.3
  },
  "luminance": 0.35818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F06BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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