#F06AF5#F06AF5

#F06AF5 is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 73.7% C 0.230 H 326.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#F06AF5
RGBrgb(240, 106, 245)
HSLhsl(298, 87%, 69%)
HSVhsv(298, 57%, 96%)
CMYKcmyk(2%, 56.7%, 0%, 3.9%)
CIE-LABlab(66.08, 69.25, -46.30)
CIE-LCHlch(66.08, 83.30, 326.23°)
OKLaboklab(73.68% 0.1908 -0.1278)
OKLCHoklch(73.68% 0.23 326.2)
XYZxyz(57.5695, 35.4293, 90.1747)
Luminance0.3543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06AF5 #6FF56A
analogous
#AB6AF5 #F06AF5 #F56AB5
triadic
#F06AF5 #F5F06A #6AF5F0
tetradic
#F06AF5 #F5AB6A #6FF56A #6AB5F5
square
#F06AF5 #F5AB6A #6FF56A #6AB5F5
split-complementary
#F06AF5 #B5F56A #6AF5AB
monochromatic
#CF0ED6 #EA31F1 #F06AF5 #F6A3F9 #FCDDFD

Accessibility & contrast

On white

2.60
#F06AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#F06AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06AF5
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06AF5#FFFFFF#000000##000000
##F06AF51.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896F9
Deuteranopia (green-blind)
#85A7F1
Tritanopia (blue-blind)
#F67CA6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06af5;
/* rgb */ color: rgb(240, 106, 245);
/* oklch */ color: oklch(73.7% 0.230 326.2);
Tailwind
colors: {
  custom: {
    50: '#f89bf9',
    500: '#f06af5',
    950: '#000000',
  },
}
SCSS
$custom: #f06af5;
$custom-light: #f89bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#f06af5",
  "rgb": {
    "r": 240,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 297.842,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73682,
    "c": 0.22969,
    "h": 326.2
  },
  "luminance": 0.35426
}

Semantic roles & 50–950 ramp

primary
#F06AF5
secondary
#CAF2C9
accent
#E4020A
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F17
muted
#867E85

Preview Lab

Preview with #F06AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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