#F06CF8#F06CF8

#F06CF8 is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 74.1% C 0.229 H 325.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#F06CF8
RGBrgb(240, 108, 248)
HSLhsl(297, 91%, 70%)
HSVhsv(297, 56%, 97%)
CMYKcmyk(3.2%, 56.5%, 0%, 2.7%)
CIE-LABlab(66.54, 68.89, -47.22)
CIE-LCHlch(66.54, 83.52, 325.57°)
OKLaboklab(74.07% 0.1887 -0.1305)
OKLCHoklch(74.07% 0.229 325.3)
XYZxyz(58.2397, 36.0310, 92.6758)
Luminance0.3603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CF8 #74F86C
analogous
#AA6CF8 #F06CF8 #F86CBA
triadic
#F06CF8 #F8F06C #6CF8F0
tetradic
#F06CF8 #F8AA6C #74F86C #6CBAF8
square
#F06CF8 #F8AA6C #74F86C #6CBAF8
split-complementary
#F06CF8 #BAF86C #6CF8AA
monochromatic
#D30BDF #EA32F5 #F06CF8 #F6A6FB #FCE1FE

Accessibility & contrast

On white

2.56
#F06CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#F06CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CF8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CF8#FFFFFF#000000##000000
##F06CF81.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#85A8F4
Tritanopia (blue-blind)
#F57EA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f06cf8;
/* rgb */ color: rgb(240, 108, 248);
/* oklch */ color: oklch(74.1% 0.229 325.3);
Tailwind
colors: {
  custom: {
    50: '#f89cfb',
    500: '#f06cf8',
    950: '#000000',
  },
}
SCSS
$custom: #f06cf8;
$custom-light: #f89cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cf8",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 296.571,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74065,
    "c": 0.2294,
    "h": 325.3
  },
  "luminance": 0.36028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F06CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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