#F06AEC#F06AEC

#F06AEC is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 73.2% C 0.222 H 328.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#F06AEC
RGBrgb(240, 106, 236)
HSLhsl(302, 82%, 68%)
HSVhsv(302, 56%, 94%)
CMYKcmyk(0%, 55.8%, 1.7%, 5.9%)
CIE-LABlab(65.67, 67.73, -41.98)
CIE-LCHlch(65.67, 79.69, 328.21°)
OKLaboklab(73.24% 0.1899 -0.1154)
OKLCHoklch(73.24% 0.222 328.7)
XYZxyz(56.2289, 34.8930, 83.1140)
Luminance0.3489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06AEC #6AF06E
analogous
#B16AF0 #F06AEC #F06AA9
triadic
#F06AEC #ECF06A #6AECF0
tetradic
#F06AEC #F0B16A #6AF06E #6AA9F0
square
#F06AEC #F0B16A #6AF06E #6AA9F0
split-complementary
#F06AEC #A9F06A #6AF0B1
monochromatic
#CB14C6 #EA32E5 #F06AEC #F6A2F3 #FBD9FA

Accessibility & contrast

On white

2.63
#F06AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#F06AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06AEC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06AEC#FFFFFF#000000##000000
##F06AEC1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#F779A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f06aec;
/* rgb */ color: rgb(240, 106, 236);
/* oklch */ color: oklch(73.2% 0.222 328.7);
Tailwind
colors: {
  custom: {
    50: '#f89bf2',
    500: '#f06aec',
    950: '#000000',
  },
}
SCSS
$custom: #f06aec;
$custom-light: #f89bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#f06aec",
  "rgb": {
    "r": 240,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 301.791,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73242,
    "c": 0.22222,
    "h": 328.7
  },
  "luminance": 0.34889
}

Semantic roles & 50–950 ramp

primary
#F06AEC
secondary
#C6F0C7
accent
#DE0E07
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180F17
muted
#867E85

Preview Lab

Preview with #F06AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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