#F06BF2#F06BF2

#F06BF2 is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 73.7% C 0.226 H 327.0°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#F06BF2
RGBrgb(240, 107, 242)
HSLhsl(299, 84%, 68%)
HSVhsv(299, 56%, 95%)
CMYKcmyk(0.8%, 55.8%, 0%, 5.1%)
CIE-LABlab(66.10, 68.30, -44.61)
CIE-LCHlch(66.10, 81.58, 326.85°)
OKLaboklab(73.65% 0.1893 -0.123)
OKLCHoklch(73.65% 0.226 327)
XYZxyz(57.2189, 35.4549, 87.8168)
Luminance0.3545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06BF2 #6DF26B
analogous
#AC6BF2 #F06BF2 #F26BB0
triadic
#F06BF2 #F2F06B #6BF2F0
tetradic
#F06BF2 #F2AC6B #6DF26B #6BB0F2
square
#F06BF2 #F2AC6B #6DF26B #6BB0F2
split-complementary
#F06BF2 #B0F26B #6BF2AC
monochromatic
#CD12D0 #EA33ED #F06BF2 #F6A3F7 #FBDCFC

Accessibility & contrast

On white

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

On black

8.09
#F06BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06BF2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06BF2#FFFFFF#000000##000000
##F06BF21.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F6
Deuteranopia (green-blind)
#87A7EE
Tritanopia (blue-blind)
#F67BA5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06bf2;
/* rgb */ color: rgb(240, 107, 242);
/* oklch */ color: oklch(73.7% 0.226 327.0);
Tailwind
colors: {
  custom: {
    50: '#f89cf7',
    500: '#f06bf2',
    950: '#000000',
  },
}
SCSS
$custom: #f06bf2;
$custom-light: #f89cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#f06bf2",
  "rgb": {
    "r": 240,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 299.111,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7365,
    "c": 0.22576,
    "h": 327
  },
  "luminance": 0.35451
}

Semantic roles & 50–950 ramp

primary
#F06BF2
secondary
#C9F1C8
accent
#E00508
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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