#F074EF#F074EF

#F074EF is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.6% C 0.210 H 327.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#F074EF
RGBrgb(240, 116, 239)
HSLhsl(300, 81%, 70%)
HSVhsv(300, 52%, 94%)
CMYKcmyk(0%, 51.7%, 0.4%, 5.9%)
CIE-LABlab(67.47, 63.75, -40.82)
CIE-LCHlch(67.47, 75.70, 327.37°)
OKLaboklab(74.61% 0.1776 -0.1121)
OKLCHoklch(74.61% 0.21 327.7)
XYZxyz(57.7597, 37.2514, 85.7925)
Luminance0.3725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074EF #74F075
analogous
#B374F0 #F074EF #F074B1
triadic
#F074EF #EFF074 #74EFF0
tetradic
#F074EF #F0B374 #74F075 #74B1F0
square
#F074EF #F0B374 #74F075 #74B1F0
split-complementary
#F074EF #B1F074 #74F0B3
monochromatic
#D317D1 #EA3DE9 #F074EF #F6ABF5 #FCE2FC

Accessibility & contrast

On white

2.49
#F074EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#F074EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074EF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074EF#FFFFFF#000000##000000
##F074EF1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#8FAAEB
Tritanopia (blue-blind)
#F782A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f074ef;
/* rgb */ color: rgb(240, 116, 239);
/* oklch */ color: oklch(74.6% 0.210 327.7);
Tailwind
colors: {
  custom: {
    50: '#f8a1f4',
    500: '#f074ef',
    950: '#000000',
  },
}
SCSS
$custom: #f074ef;
$custom-light: #f8a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f074ef",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 300.484,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74607,
    "c": 0.21003,
    "h": 327.7
  },
  "luminance": 0.37248
}

Semantic roles & 50–950 ramp

primary
#F074EF
secondary
#CEF1CF
accent
#DD0A09
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F074EF

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

Preview Lab → · Contrast checker → · Palette generator →

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