#FF5CFE#FF5CFE

#FF5CFE is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 74.6% C 0.263 H 328.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#FF5CFE
RGBrgb(255, 92, 254)
HSLhsl(300, 100%, 68%)
HSVhsv(300, 64%, 100%)
CMYKcmyk(0%, 63.9%, 0.4%, 0%)
CIE-LABlab(66.58, 79.91, -50.33)
CIE-LCHlch(66.58, 94.44, 327.80°)
OKLaboklab(74.6% 0.2231 -0.139)
OKLCHoklch(74.6% 0.263 328.1)
XYZxyz(62.9557, 36.0744, 97.3939)
Luminance0.3607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5CFE #5CFF5D
analogous
#AE5CFF #FF5CFE #FF5CAC
triadic
#FF5CFE #FEFF5C #5CFEFF
tetradic
#FF5CFE #FFAE5C #5CFF5D #5CACFF
square
#FF5CFE #FFAE5C #5CFF5D #5CACFF
split-complementary
#FF5CFE #ACFF5C #5CFFAE
monochromatic
#E100DF #FF1FFE #FF5CFE #FF99FE #FFD6FF

Accessibility & contrast

On white

2.56
#FF5CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#FF5CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5CFE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5CFE#FFFFFF#000000##000000
##FF5CFE1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff5cfe;
/* rgb */ color: rgb(255, 92, 254);
/* oklch */ color: oklch(74.6% 0.263 328.1);
Tailwind
colors: {
  custom: {
    50: '#ff95ff',
    500: '#ff5cfe',
    950: '#000000',
  },
}
SCSS
$custom: #ff5cfe;
$custom-light: #ff95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5cfe",
  "rgb": {
    "r": 255,
    "g": 92,
    "b": 254
  },
  "hsl": {
    "h": 300.368,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.74603,
    "c": 0.26291,
    "h": 328.1
  },
  "luminance": 0.3607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF5CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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