#F06CEC#F06CEC

#F06CEC is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 73.5% C 0.219 H 328.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#F06CEC
RGBrgb(240, 108, 236)
HSLhsl(302, 81%, 68%)
HSVhsv(302, 55%, 94%)
CMYKcmyk(0%, 55%, 1.7%, 5.9%)
CIE-LABlab(65.99, 66.85, -41.47)
CIE-LCHlch(65.99, 78.67, 328.19°)
OKLaboklab(73.48% 0.1874 -0.1139)
OKLCHoklch(73.48% 0.219 328.7)
XYZxyz(56.4374, 35.3101, 83.1835)
Luminance0.3531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CEC #6CF070
analogous
#B26CF0 #F06CEC #F06CAA
triadic
#F06CEC #ECF06C #6CECF0
tetradic
#F06CEC #F0B26C #6CF070 #6CAAF0
square
#F06CEC #F0B26C #6CF070 #6CAAF0
split-complementary
#F06CEC #AAF06C #6CF0B2
monochromatic
#CD15C7 #EA34E5 #F06CEC #F6A4F3 #FBDBFA

Accessibility & contrast

On white

2.61
#F06CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#F06CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CEC
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CEC#FFFFFF#000000##000000
##F06CEC1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#8BA7E8
Tritanopia (blue-blind)
#F77AA2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f06cec;
/* rgb */ color: rgb(240, 108, 236);
/* oklch */ color: oklch(73.5% 0.219 328.7);
Tailwind
colors: {
  custom: {
    50: '#f89cf2',
    500: '#f06cec',
    950: '#000000',
  },
}
SCSS
$custom: #f06cec;
$custom-light: #f89cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cec",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 301.818,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.73479,
    "c": 0.21934,
    "h": 328.7
  },
  "luminance": 0.35307
}

Semantic roles & 50–950 ramp

primary
#F06CEC
secondary
#C8F0C9
accent
#DE0E08
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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