#F06DF5#F06DF5

#F06DF5 is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 74.0% C 0.225 H 326.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#F06DF5
RGBrgb(240, 109, 245)
HSLhsl(298, 87%, 69%)
HSVhsv(298, 56%, 96%)
CMYKcmyk(2%, 55.5%, 0%, 3.9%)
CIE-LABlab(66.56, 67.93, -45.54)
CIE-LCHlch(66.56, 81.78, 326.16°)
OKLaboklab(74.04% 0.1872 -0.1257)
OKLCHoklch(74.04% 0.225 326.1)
XYZxyz(57.8841, 36.0585, 90.2796)
Luminance0.3605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06DF5 #72F56D
analogous
#AC6DF5 #F06DF5 #F56DB6
triadic
#F06DF5 #F5F06D #6DF5F0
tetradic
#F06DF5 #F5AC6D #72F56D #6DB6F5
square
#F06DF5 #F5AC6D #72F56D #6DB6F5
split-complementary
#F06DF5 #B6F56D #6DF5AC
monochromatic
#D10FD9 #EA34F1 #F06DF5 #F6A6F9 #FCE0FD

Accessibility & contrast

On white

2.56
#F06DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#F06DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06DF5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06DF5#FFFFFF#000000##000000
##F06DF51.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C97F9
Deuteranopia (green-blind)
#87A8F1
Tritanopia (blue-blind)
#F67EA7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f06df5;
/* rgb */ color: rgb(240, 109, 245);
/* oklch */ color: oklch(74.0% 0.225 326.1);
Tailwind
colors: {
  custom: {
    50: '#f89df9',
    500: '#f06df5',
    950: '#000000',
  },
}
SCSS
$custom: #f06df5;
$custom-light: #f89df9;
$custom-dark: #000000;
JSON
{
  "hex": "#f06df5",
  "rgb": {
    "r": 240,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 297.794,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74035,
    "c": 0.22543,
    "h": 326.1
  },
  "luminance": 0.36055
}

Semantic roles & 50–950 ramp

primary
#F06DF5
secondary
#CDF2CB
accent
#E4020A
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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