#F074DD#F074DD

#F074DD is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.8% C 0.195 H 333.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#F074DD
RGBrgb(240, 116, 221)
HSLhsl(309, 81%, 70%)
HSVhsv(309, 52%, 94%)
CMYKcmyk(0%, 51.7%, 7.9%, 5.9%)
CIE-LABlab(66.70, 60.76, -32.04)
CIE-LCHlch(66.70, 68.69, 332.20°)
OKLaboklab(73.8% 0.1747 -0.0871)
OKLCHoklch(73.8% 0.195 333.5)
XYZxyz(55.2317, 36.2402, 72.4786)
Luminance0.3624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074DD #74F087
analogous
#C574F0 #F074DD #F0749F
triadic
#F074DD #DDF074 #74DDF0
tetradic
#F074DD #F0C574 #74F087 #749FF0
square
#F074DD #F0C574 #74F087 #749FF0
split-complementary
#F074DD #9FF074 #74F0C5
monochromatic
#D317B6 #EA3DCF #F074DD #F6ABEB #FCE2F8

Accessibility & contrast

On white

2.55
#F074DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#F074DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074DD
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074DD#FFFFFF#000000##000000
##F074DD1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E0
Deuteranopia (green-blind)
#96A9DA
Tritanopia (blue-blind)
#F97C9F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f074dd;
/* rgb */ color: rgb(240, 116, 221);
/* oklch */ color: oklch(73.8% 0.195 333.5);
Tailwind
colors: {
  custom: {
    50: '#f7a1e8',
    500: '#f074dd',
    950: '#000000',
  },
}
SCSS
$custom: #f074dd;
$custom-light: #f7a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f074dd",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 309.194,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73795,
    "c": 0.1952,
    "h": 333.5
  },
  "luminance": 0.36237
}

Semantic roles & 50–950 ramp

primary
#F074DD
secondary
#CEF1D4
accent
#DD2909
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F074DD

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

Preview Lab → · Contrast checker → · Palette generator →

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