#F06AEB#F06AEB

#F06AEB is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.2% C 0.221 H 329.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#F06AEB
RGBrgb(240, 106, 235)
HSLhsl(302, 82%, 68%)
HSVhsv(302, 56%, 94%)
CMYKcmyk(0%, 55.8%, 2.1%, 5.9%)
CIE-LABlab(65.62, 67.57, -41.50)
CIE-LCHlch(65.62, 79.29, 328.44°)
OKLaboklab(73.19% 0.1898 -0.114)
OKLCHoklch(73.19% 0.221 329)
XYZxyz(56.0840, 34.8351, 82.3510)
Luminance0.3483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06AEB #6AF06F
analogous
#B26AF0 #F06AEB #F06AA8
triadic
#F06AEB #EBF06A #6AEBF0
tetradic
#F06AEB #F0B26A #6AF06F #6AA8F0
square
#F06AEB #F0B26A #6AF06F #6AA8F0
split-complementary
#F06AEB #A8F06A #6AF0B2
monochromatic
#CB14C4 #EA32E4 #F06AEB #F6A2F2 #FBD9FA

Accessibility & contrast

On white

2.64
#F06AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#F06AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06AEB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06AEB#FFFFFF#000000##000000
##F06AEB1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#8AA6E7
Tritanopia (blue-blind)
#F878A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f06aeb;
/* rgb */ color: rgb(240, 106, 235);
/* oklch */ color: oklch(73.2% 0.221 329.0);
Tailwind
colors: {
  custom: {
    50: '#f89bf2',
    500: '#f06aeb',
    950: '#000000',
  },
}
SCSS
$custom: #f06aeb;
$custom-light: #f89bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#f06aeb",
  "rgb": {
    "r": 240,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 302.239,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73194,
    "c": 0.2214,
    "h": 329
  },
  "luminance": 0.34831
}

Semantic roles & 50–950 ramp

primary
#F06AEB
secondary
#C6F0C8
accent
#DE0F07
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180F17
muted
#867E85

Preview Lab

Preview with #F06AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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