#F074E1#F074E1

#F074E1 is a light, vivid purple. Relative luminance 0.365; OKLCH L 74.0% C 0.198 H 332.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#F074E1
RGBrgb(240, 116, 225)
HSLhsl(307, 81%, 70%)
HSVhsv(307, 52%, 94%)
CMYKcmyk(0%, 51.7%, 6.3%, 5.9%)
CIE-LABlab(66.87, 61.41, -34.01)
CIE-LCHlch(66.87, 70.20, 331.02°)
OKLaboklab(73.97% 0.1754 -0.0926)
OKLCHoklch(73.97% 0.198 332.2)
XYZxyz(55.7710, 36.4559, 75.3188)
Luminance0.3645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074E1 #74F083
analogous
#C174F0 #F074E1 #F074A3
triadic
#F074E1 #E1F074 #74E1F0
tetradic
#F074E1 #F0C174 #74F083 #74A3F0
square
#F074E1 #F0C174 #74F083 #74A3F0
split-complementary
#F074E1 #A3F074 #74F0C1
monochromatic
#D317BC #EA3DD5 #F074E1 #F6ABED #FCE2F9

Accessibility & contrast

On white

2.53
#F074E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#F074E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074E1
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074E1#FFFFFF#000000##000000
##F074E11.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E5
Deuteranopia (green-blind)
#95A9DD
Tritanopia (blue-blind)
#F97DA0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f074e1;
/* rgb */ color: rgb(240, 116, 225);
/* oklch */ color: oklch(74.0% 0.198 332.2);
Tailwind
colors: {
  custom: {
    50: '#f7a1ea',
    500: '#f074e1',
    950: '#000000',
  },
}
SCSS
$custom: #f074e1;
$custom-light: #f7a1ea;
$custom-dark: #000000;
JSON
{
  "hex": "#f074e1",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 225
  },
  "hsl": {
    "h": 307.258,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7397,
    "c": 0.19839,
    "h": 332.2
  },
  "luminance": 0.36452
}

Semantic roles & 50–950 ramp

primary
#F074E1
secondary
#CEF1D3
accent
#DD2209
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F074E1

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

Preview Lab → · Contrast checker → · Palette generator →

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