#FF5DFE#FF5DFE

#FF5DFE is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 74.7% C 0.262 H 328.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#FF5DFE
RGBrgb(255, 93, 254)
HSLhsl(300, 100%, 68%)
HSVhsv(300, 64%, 100%)
CMYKcmyk(0%, 63.5%, 0.4%, 0%)
CIE-LABlab(66.71, 79.54, -50.12)
CIE-LCHlch(66.71, 94.02, 327.79°)
OKLaboklab(74.7% 0.2221 -0.1384)
OKLCHoklch(74.7% 0.262 328.1)
XYZxyz(63.0429, 36.2487, 97.4229)
Luminance0.3624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5DFE #5DFF5E
analogous
#AF5DFF #FF5DFE #FF5DAD
triadic
#FF5DFE #FEFF5D #5DFEFF
tetradic
#FF5DFE #FFAF5D #5DFF5E #5DADFF
square
#FF5DFE #FFAF5D #5DFF5E #5DADFF
split-complementary
#FF5DFE #ADFF5D #5DFFAF
monochromatic
#E200E0 #FF20FE #FF5DFE #FF9AFE #FFD7FF

Accessibility & contrast

On white

2.55
#FF5DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#FF5DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5DFE
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5DFE#FFFFFF#000000##000000
##FF5DFE1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4895FF
Deuteranopia (green-blind)
#85AAFA
Tritanopia (blue-blind)
#FF72A6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ff5dfe;
/* rgb */ color: rgb(255, 93, 254);
/* oklch */ color: oklch(74.7% 0.262 328.1);
Tailwind
colors: {
  custom: {
    50: '#ff96ff',
    500: '#ff5dfe',
    950: '#000000',
  },
}
SCSS
$custom: #ff5dfe;
$custom-light: #ff96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5dfe",
  "rgb": {
    "r": 255,
    "g": 93,
    "b": 254
  },
  "hsl": {
    "h": 300.37,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.74699,
    "c": 0.26169,
    "h": 328.1
  },
  "luminance": 0.36244
}

Semantic roles & 50–950 ramp

primary
#FF5DFE
secondary
#C3F4C4
accent
#E60100
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E18
muted
#877E86

Preview Lab

Preview with #FF5DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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