#F06EF8#F06EF8

#F06EF8 is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.3% C 0.227 H 325.3°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#F06EF8
RGBrgb(240, 110, 248)
HSLhsl(297, 91%, 70%)
HSVhsv(297, 56%, 97%)
CMYKcmyk(3.2%, 55.6%, 0%, 2.7%)
CIE-LABlab(66.87, 68.01, -46.71)
CIE-LCHlch(66.87, 82.51, 325.52°)
OKLaboklab(74.3% 0.1862 -0.1291)
OKLCHoklch(74.3% 0.227 325.3)
XYZxyz(58.4531, 36.4577, 92.7469)
Luminance0.3645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06EF8 #76F86E
analogous
#AB6EF8 #F06EF8 #F86EBB
triadic
#F06EF8 #F8F06E #6EF8F0
tetradic
#F06EF8 #F8AB6E #76F86E #6EBBF8
square
#F06EF8 #F8AB6E #76F86E #6EBBF8
split-complementary
#F06EF8 #BBF86E #6EF8AB
monochromatic
#D40BE1 #EA34F5 #F06EF8 #F6A8FB #FCE2FE

Accessibility & contrast

On white

2.53
#F06EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#F06EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06EF8
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06EF8#FFFFFF#000000##000000
##F06EF81.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#86A8F4
Tritanopia (blue-blind)
#F580A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f06ef8;
/* rgb */ color: rgb(240, 110, 248);
/* oklch */ color: oklch(74.3% 0.227 325.3);
Tailwind
colors: {
  custom: {
    50: '#f89efb',
    500: '#f06ef8',
    950: '#000000',
  },
}
SCSS
$custom: #f06ef8;
$custom-light: #f89efb;
$custom-dark: #000000;
JSON
{
  "hex": "#f06ef8",
  "rgb": {
    "r": 240,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 296.522,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74302,
    "c": 0.22655,
    "h": 325.3
  },
  "luminance": 0.36454
}

Semantic roles & 50–950 ramp

primary
#F06EF8
secondary
#D0F4CE
accent
#E6000D
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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