#F052DE#F052DE

#F052DE is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 70.0% C 0.243 H 332.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#F052DE
RGBrgb(240, 82, 222)
HSLhsl(307, 84%, 63%)
HSVhsv(307, 66%, 94%)
CMYKcmyk(0%, 65.8%, 7.5%, 5.9%)
CIE-LABlab(61.51, 75.19, -40.68)
CIE-LCHlch(61.51, 85.49, 331.58°)
OKLaboklab(70.01% 0.2163 -0.1115)
OKLCHoklch(70.01% 0.243 332.7)
XYZxyz(52.1374, 29.8379, 72.1064)
Luminance0.2983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F052DE #52F064
analogous
#B352F0 #F052DE #F0528F
triadic
#F052DE #DEF052 #52DEF0
tetradic
#F052DE #F0B352 #52F064 #528FF0
square
#F052DE #F0B352 #52F064 #528FF0
split-complementary
#F052DE #8FF052 #52F0B3
monochromatic
#B810A5 #EB1AD3 #F052DE #F58AE9 #FAC3F3

Accessibility & contrast

On white

3.01
#F052DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#F052DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F052DE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F052DE#FFFFFF#000000##000000
##F052DE1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E2
Deuteranopia (green-blind)
#839DDA
Tritanopia (blue-blind)
#FA6091
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f052de;
/* rgb */ color: rgb(240, 82, 222);
/* oklch */ color: oklch(70.0% 0.243 332.7);
Tailwind
colors: {
  custom: {
    50: '#f98ee8',
    500: '#f052de',
    950: '#000000',
  },
}
SCSS
$custom: #f052de;
$custom-light: #f98ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#f052de",
  "rgb": {
    "r": 240,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 306.835,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.70008,
    "c": 0.24334,
    "h": 332.7
  },
  "luminance": 0.29834
}

Semantic roles & 50–950 ramp

primary
#F052DE
secondary
#B3EBB9
accent
#E01E05
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F052DE

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

Preview Lab → · Contrast checker → · Palette generator →

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