#F06CE8#F06CE8

#F06CE8 is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.3% C 0.216 H 329.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#F06CE8
RGBrgb(240, 108, 232)
HSLhsl(304, 81%, 68%)
HSVhsv(304, 55%, 94%)
CMYKcmyk(0%, 55%, 3.3%, 5.9%)
CIE-LABlab(65.81, 66.19, -39.54)
CIE-LCHlch(65.81, 77.10, 329.15°)
OKLaboklab(73.29% 0.1869 -0.1084)
OKLCHoklch(73.29% 0.216 329.9)
XYZxyz(55.8627, 35.0802, 80.1571)
Luminance0.3508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CE8 #6CF074
analogous
#B66CF0 #F06CE8 #F06CA6
triadic
#F06CE8 #E8F06C #6CE8F0
tetradic
#F06CE8 #F0B66C #6CF074 #6CA6F0
square
#F06CE8 #F0B66C #6CF074 #6CA6F0
split-complementary
#F06CE8 #A6F06C #6CF0B6
monochromatic
#CD15C2 #EA34DF #F06CE8 #F6A4F1 #FBDBF9

Accessibility & contrast

On white

2.62
#F06CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#F06CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CE8
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CE8#FFFFFF#000000##000000
##F06CE81.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EC
Deuteranopia (green-blind)
#8DA6E4
Tritanopia (blue-blind)
#F879A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f06ce8;
/* rgb */ color: rgb(240, 108, 232);
/* oklch */ color: oklch(73.3% 0.216 329.9);
Tailwind
colors: {
  custom: {
    50: '#f89cef',
    500: '#f06ce8',
    950: '#000000',
  },
}
SCSS
$custom: #f06ce8;
$custom-light: #f89cef;
$custom-dark: #000000;
JSON
{
  "hex": "#f06ce8",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 232
  },
  "hsl": {
    "h": 303.636,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7329,
    "c": 0.21607,
    "h": 329.9
  },
  "luminance": 0.35077
}

Semantic roles & 50–950 ramp

primary
#F06CE8
secondary
#C8F0CA
accent
#DE1508
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F06CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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