#FF52FF#FF52FF

#FF52FF is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 73.8% C 0.275 H 327.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#FF52FF
RGBrgb(255, 82, 255)
HSLhsl(300, 100%, 66%)
HSVhsv(300, 68%, 100%)
CMYKcmyk(0%, 67.8%, 0%, 0%)
CIE-LABlab(65.37, 83.60, -52.78)
CIE-LCHlch(65.37, 98.87, 327.73°)
OKLaboklab(73.75% 0.2332 -0.1461)
OKLCHoklch(73.75% 0.275 327.9)
XYZxyz(62.3065, 34.5190, 97.9695)
Luminance0.3452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF52FF #52FF52
analogous
#A852FF #FF52FF #FF52A8
triadic
#FF52FF #FFFF52 #52FFFF
tetradic
#FF52FF #FFA852 #52FF52 #52A8FF
square
#FF52FF #FFA852 #52FF52 #52A8FF
split-complementary
#FF52FF #A8FF52 #52FFA8
monochromatic
#D700D7 #FF15FF #FF52FF #FF8FFF #FFCCFF

Accessibility & contrast

On white

2.66
#FF52FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#FF52FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF52FF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF52FF#FFFFFF#000000##000000
##FF52FF1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3590FF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#FF6BA3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ff52ff;
/* rgb */ color: rgb(255, 82, 255);
/* oklch */ color: oklch(73.8% 0.275 327.9);
Tailwind
colors: {
  custom: {
    50: '#ff90ff',
    500: '#ff52ff',
    950: '#000000',
  },
}
SCSS
$custom: #ff52ff;
$custom-light: #ff90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff52ff",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.73752,
    "c": 0.27514,
    "h": 327.9
  },
  "luminance": 0.34515
}

Semantic roles & 50–950 ramp

primary
#FF52FF
secondary
#BAF3BA
accent
#E60000
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E18
muted
#877E86

Preview Lab

Preview with #FF52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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