#F074EB#F074EB

#F074EB is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.4% C 0.207 H 328.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#F074EB
RGBrgb(240, 116, 235)
HSLhsl(302, 81%, 70%)
HSVhsv(302, 52%, 94%)
CMYKcmyk(0%, 51.7%, 2.1%, 5.9%)
CIE-LABlab(67.29, 63.07, -38.89)
CIE-LCHlch(67.29, 74.09, 328.34°)
OKLaboklab(74.42% 0.177 -0.1066)
OKLCHoklch(74.42% 0.207 328.9)
XYZxyz(57.1753, 37.0176, 82.7148)
Luminance0.3701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074EB #74F079
analogous
#B774F0 #F074EB #F074AD
triadic
#F074EB #EBF074 #74EBF0
tetradic
#F074EB #F0B774 #74F079 #74ADF0
square
#F074EB #F0B774 #74F079 #74ADF0
split-complementary
#F074EB #ADF074 #74F0B7
monochromatic
#D317CB #EA3DE3 #F074EB #F6ABF3 #FCE2FB

Accessibility & contrast

On white

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

On black

8.40
#F074EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074EB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074EB#FFFFFF#000000##000000
##F074EB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#90AAE7
Tritanopia (blue-blind)
#F780A5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f074eb;
/* rgb */ color: rgb(240, 116, 235);
/* oklch */ color: oklch(74.4% 0.207 328.9);
Tailwind
colors: {
  custom: {
    50: '#f7a1f2',
    500: '#f074eb',
    950: '#000000',
  },
}
SCSS
$custom: #f074eb;
$custom-light: #f7a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f074eb",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 302.419,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74421,
    "c": 0.20663,
    "h": 328.9
  },
  "luminance": 0.37014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F074EB

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

Preview Lab → · Contrast checker → · Palette generator →

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