#FF52F5#FF52F5

#FF52F5 is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 73.2% C 0.268 H 330.4°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#FF52F5
RGBrgb(255, 82, 245)
HSLhsl(303, 100%, 66%)
HSVhsv(303, 68%, 100%)
CMYKcmyk(0%, 67.8%, 3.9%, 0%)
CIE-LABlab(64.88, 82.06, -48.05)
CIE-LCHlch(64.88, 95.10, 329.65°)
OKLaboklab(73.23% 0.2328 -0.1324)
OKLCHoklch(73.23% 0.268 330.4)
XYZxyz(60.7385, 33.8918, 89.7112)
Luminance0.3389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF52F5 #52FF5C
analogous
#B252FF #FF52F5 #FF529E
triadic
#FF52F5 #F5FF52 #52F5FF
tetradic
#FF52F5 #FFB252 #52FF5C #529EFF
square
#FF52F5 #FFB252 #52FF5C #529EFF
split-complementary
#FF52F5 #9EFF52 #52FFB2
monochromatic
#D700CA #FF15F1 #FF52F5 #FF8FF9 #FFCCFC

Accessibility & contrast

On white

2.70
#FF52F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#FF52F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF52F5
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF52F5#FFFFFF#000000##000000
##FF52F51.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EFA
Deuteranopia (green-blind)
#84A6F1
Tritanopia (blue-blind)
#FF679E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ff52f5;
/* rgb */ color: rgb(255, 82, 245);
/* oklch */ color: oklch(73.2% 0.268 330.4);
Tailwind
colors: {
  custom: {
    50: '#ff90f9',
    500: '#ff52f5',
    950: '#000000',
  },
}
SCSS
$custom: #ff52f5;
$custom-light: #ff90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ff52f5",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 303.468,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.73234,
    "c": 0.26783,
    "h": 330.4
  },
  "luminance": 0.33887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF52F5

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

Preview Lab → · Contrast checker → · Palette generator →

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