#F06BF6#F06BF6

#F06BF6 is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.8% C 0.229 H 325.9°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#F06BF6
RGBrgb(240, 107, 246)
HSLhsl(297, 89%, 69%)
HSVhsv(297, 57%, 96%)
CMYKcmyk(2.4%, 56.5%, 0%, 3.5%)
CIE-LABlab(66.29, 68.98, -46.52)
CIE-LCHlch(66.29, 83.21, 326.00°)
OKLaboklab(73.85% 0.1897 -0.1285)
OKLCHoklch(73.85% 0.229 325.9)
XYZxyz(57.8262, 35.6978, 91.0154)
Luminance0.3569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06BF6 #71F66B
analogous
#AB6BF6 #F06BF6 #F66BB7
triadic
#F06BF6 #F6F06B #6BF6F0
tetradic
#F06BF6 #F6AB6B #71F66B #6BB7F6
square
#F06BF6 #F6AB6B #71F66B #6BB7F6
split-complementary
#F06BF6 #B7F66B #6BF6AB
monochromatic
#D10DD9 #EA31F2 #F06BF6 #F6A5FA #FCDEFD

Accessibility & contrast

On white

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

On black

8.14
#F06BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06BF6
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06BF6#FFFFFF#000000##000000
##F06BF61.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#86A7F2
Tritanopia (blue-blind)
#F67DA7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06bf6;
/* rgb */ color: rgb(240, 107, 246);
/* oklch */ color: oklch(73.8% 0.229 325.9);
Tailwind
colors: {
  custom: {
    50: '#f89cf9',
    500: '#f06bf6',
    950: '#000000',
  },
}
SCSS
$custom: #f06bf6;
$custom-light: #f89cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#f06bf6",
  "rgb": {
    "r": 240,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 297.41,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73848,
    "c": 0.22912,
    "h": 325.9
  },
  "luminance": 0.35694
}

Semantic roles & 50–950 ramp

primary
#F06BF6
secondary
#CCF3CA
accent
#E5000A
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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