#F06AEF#F06AEF

#F06AEF is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.4% C 0.225 H 327.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#F06AEF
RGBrgb(240, 106, 239)
HSLhsl(300, 82%, 68%)
HSVhsv(300, 56%, 94%)
CMYKcmyk(0%, 55.8%, 0.4%, 5.9%)
CIE-LABlab(65.80, 68.23, -43.43)
CIE-LCHlch(65.80, 80.88, 327.53°)
OKLaboklab(73.39% 0.1902 -0.1195)
OKLCHoklch(73.39% 0.225 327.9)
XYZxyz(56.6684, 35.0688, 85.4288)
Luminance0.3507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06AEF #6AF06B
analogous
#AE6AF0 #F06AEF #F06AAC
triadic
#F06AEF #EFF06A #6AEFF0
tetradic
#F06AEF #F0AE6A #6AF06B #6AACF0
square
#F06AEF #F0AE6A #6AF06B #6AACF0
split-complementary
#F06AEF #ACF06A #6AF0AE
monochromatic
#CB14CA #EA32E9 #F06AEF #F6A2F5 #FBD9FB

Accessibility & contrast

On white

2.62
#F06AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#F06AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06AEF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06AEF#FFFFFF#000000##000000
##F06AEF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F3
Deuteranopia (green-blind)
#88A6EB
Tritanopia (blue-blind)
#F77AA3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f06aef;
/* rgb */ color: rgb(240, 106, 239);
/* oklch */ color: oklch(73.4% 0.225 327.9);
Tailwind
colors: {
  custom: {
    50: '#f89bf4',
    500: '#f06aef',
    950: '#000000',
  },
}
SCSS
$custom: #f06aef;
$custom-light: #f89bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f06aef",
  "rgb": {
    "r": 240,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 300.448,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73386,
    "c": 0.22469,
    "h": 327.9
  },
  "luminance": 0.35065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F06AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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