#FF52F7#FF52F7

#FF52F7 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 73.3% C 0.269 H 329.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#FF52F7
RGBrgb(255, 82, 247)
HSLhsl(303, 100%, 66%)
HSVhsv(303, 68%, 100%)
CMYKcmyk(0%, 67.8%, 3.1%, 0%)
CIE-LABlab(64.97, 82.37, -49.01)
CIE-LCHlch(64.97, 95.84, 329.25°)
OKLaboklab(73.34% 0.2329 -0.1351)
OKLCHoklch(73.34% 0.269 329.9)
XYZxyz(61.0454, 34.0145, 91.3279)
Luminance0.3401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF52F7 #52FF5A
analogous
#B152FF #FF52F7 #FF52A0
triadic
#FF52F7 #F7FF52 #52F7FF
tetradic
#FF52F7 #FFB152 #52FF5A #52A0FF
square
#FF52F7 #FFB152 #52FF5A #52A0FF
split-complementary
#FF52F7 #A0FF52 #52FFB1
monochromatic
#D700CD #FF15F4 #FF52F7 #FF8FFA #FFCCFD

Accessibility & contrast

On white

2.69
#FF52F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#FF52F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF52F7
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF52F7#FFFFFF#000000##000000
##FF52F71.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFC
Deuteranopia (green-blind)
#83A6F3
Tritanopia (blue-blind)
#FF689F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ff52f7;
/* rgb */ color: rgb(255, 82, 247);
/* oklch */ color: oklch(73.3% 0.269 329.9);
Tailwind
colors: {
  custom: {
    50: '#ff90fa',
    500: '#ff52f7',
    950: '#000000',
  },
}
SCSS
$custom: #ff52f7;
$custom-light: #ff90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ff52f7",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 247
  },
  "hsl": {
    "h": 302.775,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.73336,
    "c": 0.26928,
    "h": 329.9
  },
  "luminance": 0.3401
}

Semantic roles & 50–950 ramp

primary
#FF52F7
secondary
#BAF3BD
accent
#E60B00
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF52F7

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

Preview Lab → · Contrast checker → · Palette generator →

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