#F06CEE#F06CEE

#F06CEE is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 73.6% C 0.221 H 328.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#F06CEE
RGBrgb(240, 108, 238)
HSLhsl(301, 81%, 68%)
HSVhsv(301, 55%, 94%)
CMYKcmyk(0%, 55%, 0.8%, 5.9%)
CIE-LABlab(66.08, 67.19, -42.44)
CIE-LCHlch(66.08, 79.47, 327.72°)
OKLaboklab(73.58% 0.1877 -0.1167)
OKLCHoklch(73.58% 0.221 328.1)
XYZxyz(56.7296, 35.4269, 84.7224)
Luminance0.3542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CEE #6CF06E
analogous
#B06CF0 #F06CEE #F06CAC
triadic
#F06CEE #EEF06C #6CEEF0
tetradic
#F06CEE #F0B06C #6CF06E #6CACF0
square
#F06CEE #F0B06C #6CF06E #6CACF0
split-complementary
#F06CEE #ACF06C #6CF0B0
monochromatic
#CD15CA #EA34E8 #F06CEE #F6A4F4 #FBDBFB

Accessibility & contrast

On white

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

On black

8.08
#F06CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CEE
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CEE#FFFFFF#000000##000000
##F06CEE1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#8AA7EA
Tritanopia (blue-blind)
#F77BA3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06cee;
/* rgb */ color: rgb(240, 108, 238);
/* oklch */ color: oklch(73.6% 0.221 328.1);
Tailwind
colors: {
  custom: {
    50: '#f89cf4',
    500: '#f06cee',
    950: '#000000',
  },
}
SCSS
$custom: #f06cee;
$custom-light: #f89cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cee",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 300.909,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.73575,
    "c": 0.22099,
    "h": 328.1
  },
  "luminance": 0.35423
}

Semantic roles & 50–950 ramp

primary
#F06CEE
secondary
#C8F0C8
accent
#DE0B08
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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