#F074EC#F074EC

#F074EC is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.5% C 0.207 H 328.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#F074EC
RGBrgb(240, 116, 236)
HSLhsl(302, 81%, 70%)
HSVhsv(302, 52%, 94%)
CMYKcmyk(0%, 51.7%, 1.7%, 5.9%)
CIE-LABlab(67.33, 63.24, -39.37)
CIE-LCHlch(67.33, 74.49, 328.09°)
OKLaboklab(74.47% 0.1772 -0.108)
OKLCHoklch(74.47% 0.207 328.6)
XYZxyz(57.3201, 37.0756, 83.4778)
Luminance0.3707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074EC #74F078
analogous
#B674F0 #F074EC #F074AE
triadic
#F074EC #ECF074 #74ECF0
tetradic
#F074EC #F0B674 #74F078 #74AEF0
square
#F074EC #F0B674 #74F078 #74AEF0
split-complementary
#F074EC #AEF074 #74F0B6
monochromatic
#D317CD #EA3DE4 #F074EC #F6ABF4 #FCE2FB

Accessibility & contrast

On white

2.50
#F074EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#F074EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074EC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074EC#FFFFFF#000000##000000
##F074EC1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#F781A6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f074ec;
/* rgb */ color: rgb(240, 116, 236);
/* oklch */ color: oklch(74.5% 0.207 328.6);
Tailwind
colors: {
  custom: {
    50: '#f7a1f2',
    500: '#f074ec',
    950: '#000000',
  },
}
SCSS
$custom: #f074ec;
$custom-light: #f7a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f074ec",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 301.935,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74467,
    "c": 0.20748,
    "h": 328.6
  },
  "luminance": 0.37072
}

Semantic roles & 50–950 ramp

primary
#F074EC
secondary
#CEF1D0
accent
#DD0F09
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F074EC

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

Preview Lab → · Contrast checker → · Palette generator →

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