#FF52F1#FF52F1

#FF52F1 is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 73.0% C 0.265 H 331.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#FF52F1
RGBrgb(255, 82, 241)
HSLhsl(305, 100%, 66%)
HSVhsv(305, 68%, 100%)
CMYKcmyk(0%, 67.8%, 5.5%, 0%)
CIE-LABlab(64.68, 81.46, -46.14)
CIE-LCHlch(64.68, 93.62, 330.47°)
OKLaboklab(73.03% 0.2326 -0.1269)
OKLCHoklch(73.03% 0.265 331.4)
XYZxyz(60.1344, 33.6501, 86.5300)
Luminance0.3365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF52F1 #52FF60
analogous
#B652FF #FF52F1 #FF529B
triadic
#FF52F1 #F1FF52 #52F1FF
tetradic
#FF52F1 #FFB652 #52FF60 #529BFF
square
#FF52F1 #FFB652 #52FF60 #529BFF
split-complementary
#FF52F1 #9BFF52 #52FFB6
monochromatic
#D700C5 #FF15EC #FF52F1 #FF8FF6 #FFCCFB

Accessibility & contrast

On white

2.72
#FF52F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#FF52F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF52F1
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF52F1#FFFFFF#000000##000000
##FF52F11.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#468DF6
Deuteranopia (green-blind)
#86A5ED
Tritanopia (blue-blind)
#FF659C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ff52f1;
/* rgb */ color: rgb(255, 82, 241);
/* oklch */ color: oklch(73.0% 0.265 331.4);
Tailwind
colors: {
  custom: {
    50: '#ff90f6',
    500: '#ff52f1',
    950: '#000000',
  },
}
SCSS
$custom: #ff52f1;
$custom-light: #ff90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff52f1",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 304.855,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.73033,
    "c": 0.26496,
    "h": 331.4
  },
  "luminance": 0.33645
}

Semantic roles & 50–950 ramp

primary
#FF52F1
secondary
#BAF3BF
accent
#E61300
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF52F1

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

Preview Lab → · Contrast checker → · Palette generator →

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