#F06DFA#F06DFA

#F06DFA is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.3% C 0.230 H 324.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#F06DFA
RGBrgb(240, 109, 250)
HSLhsl(296, 93%, 70%)
HSVhsv(296, 56%, 98%)
CMYKcmyk(4%, 56.4%, 0%, 2%)
CIE-LABlab(66.80, 68.80, -47.92)
CIE-LCHlch(66.80, 83.84, 325.14°)
OKLaboklab(74.28% 0.1876 -0.1325)
OKLCHoklch(74.28% 0.23 324.8)
XYZxyz(58.6577, 36.3679, 94.3540)
Luminance0.3636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06DFA #77FA6D
analogous
#AA6DFA #F06DFA #FA6DBD
triadic
#F06DFA #FAF06D #6DFAF0
tetradic
#F06DFA #FAAA6D #77FA6D #6DBDFA
square
#F06DFA #FAAA6D #77FA6D #6DBDFA
split-complementary
#F06DFA #BDFA6D #6DFAAA
monochromatic
#D508E5 #EA32F8 #F06DFA #F6A8FC #FCE1FE

Accessibility & contrast

On white

2.54
#F06DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#F06DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06DFA
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06DFA#FFFFFF#000000##000000
##F06DFA1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#85A8F6
Tritanopia (blue-blind)
#F580AA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f06dfa;
/* rgb */ color: rgb(240, 109, 250);
/* oklch */ color: oklch(74.3% 0.230 324.8);
Tailwind
colors: {
  custom: {
    50: '#f89dfc',
    500: '#f06dfa',
    950: '#000000',
  },
}
SCSS
$custom: #f06dfa;
$custom-light: #f89dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#f06dfa",
  "rgb": {
    "r": 240,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 295.745,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74283,
    "c": 0.2297,
    "h": 324.8
  },
  "luminance": 0.36365
}

Semantic roles & 50–950 ramp

primary
#F06DFA
secondary
#D1F5CE
accent
#E60010
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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