#F06CEA#F06CEA

#F06CEA is a light, highly saturated purple. Relative luminance 0.352; OKLCH L 73.4% C 0.218 H 329.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#F06CEA
RGBrgb(240, 108, 234)
HSLhsl(303, 81%, 68%)
HSVhsv(303, 55%, 94%)
CMYKcmyk(0%, 55%, 2.5%, 5.9%)
CIE-LABlab(65.90, 66.52, -40.51)
CIE-LCHlch(65.90, 77.88, 328.66°)
OKLaboklab(73.38% 0.1872 -0.1112)
OKLCHoklch(73.38% 0.218 329.3)
XYZxyz(56.1484, 35.1945, 81.6618)
Luminance0.3519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CEA #6CF072
analogous
#B46CF0 #F06CEA #F06CA8
triadic
#F06CEA #EAF06C #6CEAF0
tetradic
#F06CEA #F0B46C #6CF072 #6CA8F0
square
#F06CEA #F0B46C #6CF072 #6CA8F0
split-complementary
#F06CEA #A8F06C #6CF0B4
monochromatic
#CD15C4 #EA34E2 #F06CEA #F6A4F2 #FBDBFA

Accessibility & contrast

On white

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

On black

8.04
#F06CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CEA
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CEA#FFFFFF#000000##000000
##F06CEA1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#8CA7E6
Tritanopia (blue-blind)
#F879A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f06cea;
/* rgb */ color: rgb(240, 108, 234);
/* oklch */ color: oklch(73.4% 0.218 329.3);
Tailwind
colors: {
  custom: {
    50: '#f89cf1',
    500: '#f06cea',
    950: '#000000',
  },
}
SCSS
$custom: #f06cea;
$custom-light: #f89cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cea",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 302.727,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.73384,
    "c": 0.2177,
    "h": 329.3
  },
  "luminance": 0.35191
}

Semantic roles & 50–950 ramp

primary
#F06CEA
secondary
#C8F0CA
accent
#DE1108
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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