#FF52EB#FF52EB

#FF52EB is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 72.7% C 0.261 H 333.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#FF52EB
RGBrgb(255, 82, 235)
HSLhsl(307, 100%, 66%)
HSVhsv(307, 68%, 100%)
CMYKcmyk(0%, 67.8%, 7.8%, 0%)
CIE-LABlab(64.40, 80.57, -43.26)
CIE-LCHlch(64.40, 91.45, 331.77°)
OKLaboklab(72.74% 0.2322 -0.1186)
OKLCHoklch(72.74% 0.261 333)
XYZxyz(59.2529, 33.2976, 81.8875)
Luminance0.3329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF52EB #52FF66
analogous
#BC52FF #FF52EB #FF5294
triadic
#FF52EB #EBFF52 #52EBFF
tetradic
#FF52EB #FFBC52 #52FF66 #5294FF
square
#FF52EB #FFBC52 #52FF66 #5294FF
split-complementary
#FF52EB #94FF52 #52FFBC
monochromatic
#D700BE #FF15E4 #FF52EB #FF8FF2 #FFCCF9

Accessibility & contrast

On white

2.74
#FF52EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#FF52EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF52EB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF52EB#FFFFFF#000000##000000
##FF52EB1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEF
Deuteranopia (green-blind)
#89A5E7
Tritanopia (blue-blind)
#FF6298
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ff52eb;
/* rgb */ color: rgb(255, 82, 235);
/* oklch */ color: oklch(72.7% 0.261 333.0);
Tailwind
colors: {
  custom: {
    50: '#ff90f2',
    500: '#ff52eb',
    950: '#000000',
  },
}
SCSS
$custom: #ff52eb;
$custom-light: #ff90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff52eb",
  "rgb": {
    "r": 255,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 306.936,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.72737,
    "c": 0.26073,
    "h": 333
  },
  "luminance": 0.33293
}

Semantic roles & 50–950 ramp

primary
#FF52EB
secondary
#BAF3C1
accent
#E61B00
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF52EB

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

Preview Lab → · Contrast checker → · Palette generator →

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