#F052DF#F052DF

#F052DF is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 70.1% C 0.244 H 332.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#F052DF
RGBrgb(240, 82, 223)
HSLhsl(306, 84%, 63%)
HSVhsv(306, 66%, 94%)
CMYKcmyk(0%, 65.8%, 7.1%, 5.9%)
CIE-LABlab(61.56, 75.34, -41.17)
CIE-LCHlch(61.56, 85.85, 331.34°)
OKLaboklab(70.06% 0.2164 -0.1129)
OKLCHoklch(70.06% 0.244 332.5)
XYZxyz(52.2719, 29.8917, 72.8143)
Luminance0.2989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F052DF #52F063
analogous
#B252F0 #F052DF #F05290
triadic
#F052DF #DFF052 #52DFF0
tetradic
#F052DF #F0B252 #52F063 #5290F0
square
#F052DF #F0B252 #52F063 #5290F0
split-complementary
#F052DF #90F052 #52F0B2
monochromatic
#B810A6 #EB1AD5 #F052DF #F58AE9 #FAC3F4

Accessibility & contrast

On white

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

On black

6.98
#F052DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F052DF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F052DF#FFFFFF#000000##000000
##F052DF1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B86E3
Deuteranopia (green-blind)
#829DDB
Tritanopia (blue-blind)
#FA6192
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f052df;
/* rgb */ color: rgb(240, 82, 223);
/* oklch */ color: oklch(70.1% 0.244 332.5);
Tailwind
colors: {
  custom: {
    50: '#f98ee9',
    500: '#f052df',
    950: '#000000',
  },
}
SCSS
$custom: #f052df;
$custom-light: #f98ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#f052df",
  "rgb": {
    "r": 240,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 306.456,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.70057,
    "c": 0.24406,
    "h": 332.5
  },
  "luminance": 0.29888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F052DF

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

Preview Lab → · Contrast checker → · Palette generator →

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