#F081EC#F081EC

#F081EC is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.2% C 0.187 H 328.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#F081EC
RGBrgb(240, 129, 236)
HSLhsl(302, 79%, 72%)
HSVhsv(302, 46%, 94%)
CMYKcmyk(0%, 46.3%, 1.7%, 5.9%)
CIE-LABlab(69.67, 57.06, -35.73)
CIE-LCHlch(69.67, 67.33, 327.95°)
OKLaboklab(76.2% 0.1597 -0.0977)
OKLCHoklch(76.2% 0.187 328.6)
XYZxyz(58.9249, 40.2851, 84.0127)
Luminance0.4028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F081EC #81F085
analogous
#BC81F0 #F081EC #F081B5
triadic
#F081EC #ECF081 #81ECF0
tetradic
#F081EC #F0BC81 #81F085 #81B5F0
square
#F081EC #F0BC81 #81F085 #81B5F0
split-complementary
#F081EC #B5F081 #81F0BC
monochromatic
#DC1AD5 #E94AE4 #F081EC #F7B8F4 #FCE4FB

Accessibility & contrast

On white

2.32
#F081EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#F081EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F081EC
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F081EC#FFFFFF#000000##000000
##F081EC1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F0
Deuteranopia (green-blind)
#99B0E9
Tritanopia (blue-blind)
#F78BAC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f081ec;
/* rgb */ color: rgb(240, 129, 236);
/* oklch */ color: oklch(76.2% 0.187 328.6);
Tailwind
colors: {
  custom: {
    50: '#f7a9f2',
    500: '#f081ec',
    950: '#000000',
  },
}
SCSS
$custom: #f081ec;
$custom-light: #f7a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f081ec",
  "rgb": {
    "r": 240,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 302.162,
    "s": 78.723,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76197,
    "c": 0.1872,
    "h": 328.6
  },
  "luminance": 0.40282
}

Semantic roles & 50–950 ramp

primary
#F081EC
secondary
#D7F4D8
accent
#DB120A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F081EC

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

Preview Lab → · Contrast checker → · Palette generator →

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