#F06CF2#F06CF2

#F06CF2 is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.8% C 0.224 H 327.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#F06CF2
RGBrgb(240, 108, 242)
HSLhsl(299, 84%, 69%)
HSVhsv(299, 55%, 95%)
CMYKcmyk(0.8%, 55.4%, 0%, 5.1%)
CIE-LABlab(66.26, 67.86, -44.36)
CIE-LCHlch(66.26, 81.07, 326.83°)
OKLaboklab(73.77% 0.1881 -0.1223)
OKLCHoklch(73.77% 0.224 327)
XYZxyz(57.3238, 35.6646, 87.8518)
Luminance0.3566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CF2 #6EF26C
analogous
#AD6CF2 #F06CF2 #F26CB1
triadic
#F06CF2 #F2F06C #6CF2F0
tetradic
#F06CF2 #F2AD6C #6EF26C #6CB1F2
square
#F06CF2 #F2AD6C #6EF26C #6CB1F2
split-complementary
#F06CF2 #B1F26C #6CF2AD
monochromatic
#CE12D1 #EA34ED #F06CF2 #F6A4F7 #FBDCFC

Accessibility & contrast

On white

2.58
#F06CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#F06CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CF2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CF2#FFFFFF#000000##000000
##F06CF21.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#88A7EE
Tritanopia (blue-blind)
#F67CA5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06cf2;
/* rgb */ color: rgb(240, 108, 242);
/* oklch */ color: oklch(73.8% 0.224 327.0);
Tailwind
colors: {
  custom: {
    50: '#f89cf7',
    500: '#f06cf2',
    950: '#000000',
  },
}
SCSS
$custom: #f06cf2;
$custom-light: #f89cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cf2",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 299.104,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73769,
    "c": 0.22433,
    "h": 327
  },
  "luminance": 0.35661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F06CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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