#F06DFD#F06DFD

#F06DFD is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.4% C 0.232 H 324.0°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#F06DFD
RGBrgb(240, 109, 253)
HSLhsl(295, 97%, 71%)
HSVhsv(295, 57%, 99%)
CMYKcmyk(5.1%, 56.9%, 0%, 0.8%)
CIE-LABlab(66.94, 69.32, -49.34)
CIE-LCHlch(66.94, 85.09, 324.56°)
OKLaboklab(74.44% 0.1878 -0.1366)
OKLCHoklch(74.44% 0.232 324)
XYZxyz(59.1319, 36.5576, 96.8511)
Luminance0.3655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06DFD #7AFD6D
analogous
#A86DFD #F06DFD #FD6DC2
triadic
#F06DFD #FDF06D #6DFDF0
tetradic
#F06DFD #FDA86D #7AFD6D #6DC2FD
square
#F06DFD #FDA86D #7AFD6D #6DC2FD
split-complementary
#F06DFD #C2FD6D #6DFDA8
monochromatic
#D703EC #EA31FC #F06DFD #F6A9FE #FCE1FF

Accessibility & contrast

On white

2.53
#F06DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#F06DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06DFD
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06DFD#FFFFFF#000000##000000
##F06DFD1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#F481AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f06dfd;
/* rgb */ color: rgb(240, 109, 253);
/* oklch */ color: oklch(74.4% 0.232 324.0);
Tailwind
colors: {
  custom: {
    50: '#f89dfe',
    500: '#f06dfd',
    950: '#000000',
  },
}
SCSS
$custom: #f06dfd;
$custom-light: #f89dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#f06dfd",
  "rgb": {
    "r": 240,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 294.583,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74435,
    "c": 0.23229,
    "h": 324
  },
  "luminance": 0.36554
}

Semantic roles & 50–950 ramp

primary
#F06DFD
secondary
#D3F6D0
accent
#E60015
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F06DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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