#F052FC#F052FC

#F052FC is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 71.6% C 0.266 H 324.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#F052FC
RGBrgb(240, 82, 252)
HSLhsl(296, 97%, 65%)
HSVhsv(296, 67%, 99%)
CMYKcmyk(4.8%, 67.5%, 0%, 1.2%)
CIE-LABlab(63.00, 79.93, -55.03)
CIE-LCHlch(63.00, 97.04, 325.45°)
OKLaboklab(71.57% 0.2176 -0.153)
OKLCHoklch(71.57% 0.266 324.9)
XYZxyz(56.5218, 31.5916, 95.1973)
Luminance0.3159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F052FC #5EFC52
analogous
#9B52FC #F052FC #FC52B3
triadic
#F052FC #FCF052 #52FCF0
tetradic
#F052FC #FC9B52 #5EFC52 #52B3FC
square
#F052FC #FC9B52 #5EFC52 #52B3FC
split-complementary
#F052FC #B3FC52 #52FC9B
monochromatic
#C204D0 #EB16FB #F052FC #F58EFD #FACAFE

Accessibility & contrast

On white

2.87
#F052FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#F052FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F052FC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F052FC#FFFFFF#000000##000000
##F052FC1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#298CFF
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#F56DA1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f052fc;
/* rgb */ color: rgb(240, 82, 252);
/* oklch */ color: oklch(71.6% 0.266 324.9);
Tailwind
colors: {
  custom: {
    50: '#f98ffe',
    500: '#f052fc',
    950: '#000000',
  },
}
SCSS
$custom: #f052fc;
$custom-light: #f98ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#f052fc",
  "rgb": {
    "r": 240,
    "g": 82,
    "b": 252
  },
  "hsl": {
    "h": 295.765,
    "s": 96.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.71566,
    "c": 0.26597,
    "h": 324.9
  },
  "luminance": 0.31588
}

Semantic roles & 50–950 ramp

primary
#F052FC
secondary
#BCF1B8
accent
#E60010
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180D18
muted
#867E86

Preview Lab

Preview with #F052FC

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

Preview Lab → · Contrast checker → · Palette generator →

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