#F06DF2#F06DF2

#F06DF2 is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 73.9% C 0.223 H 327.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#F06DF2
RGBrgb(240, 109, 242)
HSLhsl(299, 84%, 69%)
HSVhsv(299, 55%, 95%)
CMYKcmyk(0.8%, 55%, 0%, 5.1%)
CIE-LABlab(66.43, 67.42, -44.10)
CIE-LCHlch(66.43, 80.57, 326.81°)
OKLaboklab(73.89% 0.1868 -0.1215)
OKLCHoklch(73.89% 0.223 327)
XYZxyz(57.4298, 35.8767, 87.8871)
Luminance0.3587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06DF2 #6FF26D
analogous
#AE6DF2 #F06DF2 #F26DB2
triadic
#F06DF2 #F2F06D #6DF2F0
tetradic
#F06DF2 #F2AE6D #6FF26D #6DB2F2
square
#F06DF2 #F2AE6D #6FF26D #6DB2F2
split-complementary
#F06DF2 #B2F26D #6DF2AE
monochromatic
#CF13D2 #EA35ED #F06DF2 #F6A5F7 #FCDDFC

Accessibility & contrast

On white

2.57
#F06DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#F06DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06DF2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06DF2#FFFFFF#000000##000000
##F06DF21.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#89A8EE
Tritanopia (blue-blind)
#F67DA6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06df2;
/* rgb */ color: rgb(240, 109, 242);
/* oklch */ color: oklch(73.9% 0.223 327.0);
Tailwind
colors: {
  custom: {
    50: '#f89df7',
    500: '#f06df2',
    950: '#000000',
  },
}
SCSS
$custom: #f06df2;
$custom-light: #f89df7;
$custom-dark: #000000;
JSON
{
  "hex": "#f06df2",
  "rgb": {
    "r": 240,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 299.098,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73888,
    "c": 0.2229,
    "h": 327
  },
  "luminance": 0.35873
}

Semantic roles & 50–950 ramp

primary
#F06DF2
secondary
#CAF1CA
accent
#E00509
background
#FFFAFF
surface
#FFF3FE
border
#D7CDD6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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