#FB52EF#FB52EF

#FB52EF is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 72.4% C 0.261 H 330.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#FB52EF
RGBrgb(251, 82, 239)
HSLhsl(304, 95%, 65%)
HSVhsv(304, 67%, 98%)
CMYKcmyk(0%, 67.3%, 4.8%, 1.6%)
CIE-LABlab(63.98, 80.27, -46.18)
CIE-LCHlch(63.98, 92.61, 330.09°)
OKLaboklab(72.38% 0.2285 -0.1271)
OKLCHoklch(72.38% 0.261 330.9)
XYZxyz(58.3808, 32.7803, 84.8970)
Luminance0.3278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB52EF #52FB5E
analogous
#B252FB #FB52EF #FB529B
triadic
#FB52EF #EFFB52 #52EFFB
tetradic
#FB52EF #FBB252 #52FB5E #529BFB
square
#FB52EF #FBB252 #52FB5E #529BFB
split-complementary
#FB52EF #9BFB52 #52FBB2
monochromatic
#CE05C0 #FA16E9 #FB52EF #FC8EF5 #FECAFA

Accessibility & contrast

On white

2.78
#FB52EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#FB52EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB52EF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB52EF#FFFFFF#000000##000000
##FB52EF1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF3
Deuteranopia (green-blind)
#84A3EB
Tritanopia (blue-blind)
#FF659A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #fb52ef;
/* rgb */ color: rgb(251, 82, 239);
/* oklch */ color: oklch(72.4% 0.261 330.9);
Tailwind
colors: {
  custom: {
    50: '#ff90f5',
    500: '#fb52ef',
    950: '#000000',
  },
}
SCSS
$custom: #fb52ef;
$custom-light: #ff90f5;
$custom-dark: #000000;
JSON
{
  "hex": "#fb52ef",
  "rgb": {
    "r": 251,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 304.26,
    "s": 95.48,
    "l": 65.294
  },
  "oklch": {
    "l": 0.72378,
    "c": 0.26148,
    "h": 330.9
  },
  "luminance": 0.32776
}

Semantic roles & 50–950 ramp

primary
#FB52EF
secondary
#B8F1BC
accent
#E61000
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#190E17
muted
#877E85

Preview Lab

Preview with #FB52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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