#F06CEF#F06CEF

#F06CEF is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 73.6% C 0.222 H 327.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#F06CEF
RGBrgb(240, 108, 239)
HSLhsl(300, 81%, 68%)
HSVhsv(300, 55%, 94%)
CMYKcmyk(0%, 55%, 0.4%, 5.9%)
CIE-LABlab(66.13, 67.36, -42.92)
CIE-LCHlch(66.13, 79.87, 327.49°)
OKLaboklab(73.62% 0.1878 -0.1181)
OKLCHoklch(73.62% 0.222 327.8)
XYZxyz(56.8769, 35.4859, 85.4983)
Luminance0.3548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CEF #6CF06D
analogous
#AF6CF0 #F06CEF #F06CAD
triadic
#F06CEF #EFF06C #6CEFF0
tetradic
#F06CEF #F0AF6C #6CF06D #6CADF0
square
#F06CEF #F0AF6C #6CF06D #6CADF0
split-complementary
#F06CEF #ADF06C #6CF0AF
monochromatic
#CD15CB #EA34E9 #F06CEF #F6A4F5 #FBDBFB

Accessibility & contrast

On white

2.59
#F06CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#F06CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CEF
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CEF#FFFFFF#000000##000000
##F06CEF1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#F77BA4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06cef;
/* rgb */ color: rgb(240, 108, 239);
/* oklch */ color: oklch(73.6% 0.222 327.8);
Tailwind
colors: {
  custom: {
    50: '#f89cf4',
    500: '#f06cef',
    950: '#000000',
  },
}
SCSS
$custom: #f06cef;
$custom-light: #f89cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cef",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 300.455,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.73623,
    "c": 0.22182,
    "h": 327.8
  },
  "luminance": 0.35482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F06CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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