#F06FF2#F06FF2

#F06FF2 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.1% C 0.220 H 326.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#F06FF2
RGBrgb(240, 111, 242)
HSLhsl(299, 83%, 69%)
HSVhsv(299, 54%, 95%)
CMYKcmyk(0.8%, 54.1%, 0%, 5.1%)
CIE-LABlab(66.75, 66.53, -43.59)
CIE-LCHlch(66.75, 79.54, 326.77°)
OKLaboklab(74.13% 0.1844 -0.12)
OKLCHoklch(74.13% 0.22 326.9)
XYZxyz(57.6456, 36.3083, 87.9591)
Luminance0.3630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06FF2 #71F26F
analogous
#AF6FF2 #F06FF2 #F26FB3
triadic
#F06FF2 #F2F06F #6FF2F0
tetradic
#F06FF2 #F2AF6F #71F26F #6FB3F2
square
#F06FF2 #F2AF6F #71F26F #6FB3F2
split-complementary
#F06FF2 #B3F26F #6FF2AF
monochromatic
#D113D4 #EA37ED #F06FF2 #F6A7F7 #FCDFFC

Accessibility & contrast

On white

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

On black

8.26
#F06FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06FF2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06FF2#FFFFFF#000000##000000
##F06FF21.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F6
Deuteranopia (green-blind)
#8AA8EE
Tritanopia (blue-blind)
#F67FA6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f06ff2;
/* rgb */ color: rgb(240, 111, 242);
/* oklch */ color: oklch(74.1% 0.220 326.9);
Tailwind
colors: {
  custom: {
    50: '#f89ef7',
    500: '#f06ff2',
    950: '#000000',
  },
}
SCSS
$custom: #f06ff2;
$custom-light: #f89ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#f06ff2",
  "rgb": {
    "r": 240,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 299.084,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.74129,
    "c": 0.21999,
    "h": 326.9
  },
  "luminance": 0.36305
}

Semantic roles & 50–950 ramp

primary
#F06FF2
secondary
#CCF1CB
accent
#E00609
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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