#F06CE2#F06CE2

#F06CE2 is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 73.0% C 0.211 H 331.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#F06CE2
RGBrgb(240, 108, 226)
HSLhsl(306, 81%, 68%)
HSVhsv(306, 55%, 94%)
CMYKcmyk(0%, 55%, 5.8%, 5.9%)
CIE-LABlab(65.55, 65.21, -36.61)
CIE-LCHlch(65.55, 74.79, 330.69°)
OKLaboklab(73.01% 0.1861 -0.1)
OKLCHoklch(73.01% 0.211 331.7)
XYZxyz(55.0250, 34.7451, 75.7450)
Luminance0.3474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CE2 #6CF07A
analogous
#BC6CF0 #F06CE2 #F06CA0
triadic
#F06CE2 #E2F06C #6CE2F0
tetradic
#F06CE2 #F0BC6C #6CF07A #6CA0F0
square
#F06CE2 #F0BC6C #6CF07A #6CA0F0
split-complementary
#F06CE2 #A0F06C #6CF0BC
monochromatic
#CD15B9 #EA34D7 #F06CE2 #F6A4ED #FBDBF8

Accessibility & contrast

On white

2.64
#F06CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#F06CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CE2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CE2#FFFFFF#000000##000000
##F06CE21.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6793E6
Deuteranopia (green-blind)
#8FA6DE
Tritanopia (blue-blind)
#F9779D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f06ce2;
/* rgb */ color: rgb(240, 108, 226);
/* oklch */ color: oklch(73.0% 0.211 331.7);
Tailwind
colors: {
  custom: {
    50: '#f89ceb',
    500: '#f06ce2',
    950: '#000000',
  },
}
SCSS
$custom: #f06ce2;
$custom-light: #f89ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#f06ce2",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 226
  },
  "hsl": {
    "h": 306.364,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.73013,
    "c": 0.21125,
    "h": 331.7
  },
  "luminance": 0.34741
}

Semantic roles & 50–950 ramp

primary
#F06CE2
secondary
#C8F0CC
accent
#DE1E08
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180F16
muted
#867E84

Preview Lab

Preview with #F06CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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