#FA52EC#FA52EC

#FA52EC is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 72.1% C 0.259 H 331.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#FA52EC
RGBrgb(250, 82, 236)
HSLhsl(305, 94%, 65%)
HSVhsv(305, 67%, 98%)
CMYKcmyk(0%, 67.2%, 5.6%, 2%)
CIE-LABlab(63.69, 79.59, -44.99)
CIE-LCHlch(63.69, 91.43, 330.52°)
OKLaboklab(72.09% 0.2274 -0.1236)
OKLCHoklch(72.09% 0.259 331.5)
XYZxyz(57.5819, 32.4192, 82.5654)
Luminance0.3241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA52EC #52FA60
analogous
#B452FA #FA52EC #FA5298
triadic
#FA52EC #ECFA52 #52ECFA
tetradic
#FA52EC #FAB452 #52FA60 #5298FA
square
#FA52EC #FAB452 #52FA60 #5298FA
split-complementary
#FA52EC #98FA52 #52FAB4
monochromatic
#CC06BB #F817E5 #FA52EC #FC8DF3 #FDC9F9

Accessibility & contrast

On white

2.81
#FA52EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#FA52EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA52EC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA52EC#FFFFFF#000000##000000
##FA52EC1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#84A3E8
Tritanopia (blue-blind)
#FF6499
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #fa52ec;
/* rgb */ color: rgb(250, 82, 236);
/* oklch */ color: oklch(72.1% 0.259 331.5);
Tailwind
colors: {
  custom: {
    50: '#ff8ff2',
    500: '#fa52ec',
    950: '#000000',
  },
}
SCSS
$custom: #fa52ec;
$custom-light: #ff8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#fa52ec",
  "rgb": {
    "r": 250,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 305,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.7209,
    "c": 0.2588,
    "h": 331.5
  },
  "luminance": 0.32415
}

Semantic roles & 50–950 ramp

primary
#FA52EC
secondary
#B7F0BC
accent
#E61300
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #FA52EC

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

Preview Lab → · Contrast checker → · Palette generator →

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