#FF5FEF#FF5FEF

#FF5FEF is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 74.2% C 0.248 H 331.9°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#FF5FEF
RGBrgb(255, 95, 239)
HSLhsl(306, 100%, 69%)
HSVhsv(306, 63%, 100%)
CMYKcmyk(0%, 62.7%, 6.3%, 0%)
CIE-LABlab(66.28, 76.45, -42.53)
CIE-LCHlch(66.28, 87.48, 330.91°)
OKLaboklab(74.16% 0.2188 -0.1166)
OKLCHoklch(74.16% 0.248 331.9)
XYZxyz(60.9122, 35.6810, 85.3236)
Luminance0.3568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5FEF #5FFF6F
analogous
#BF5FFF #FF5FEF #FF5F9F
triadic
#FF5FEF #EFFF5F #5FEFFF
tetradic
#FF5FEF #FFBF5F #5FFF6F #5F9FFF
square
#FF5FEF #FFBF5F #5FFF6F #5F9FFF
split-complementary
#FF5FEF #9FFF5F #5FFFBF
monochromatic
#E400CD #FF22E9 #FF5FEF #FF9CF5 #FFD9FB

Accessibility & contrast

On white

2.58
#FF5FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#FF5FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5FEF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5FEF#FFFFFF#000000##000000
##FF5FEF1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F3
Deuteranopia (green-blind)
#8EA9EB
Tritanopia (blue-blind)
#FF6E9F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ff5fef;
/* rgb */ color: rgb(255, 95, 239);
/* oklch */ color: oklch(74.2% 0.248 331.9);
Tailwind
colors: {
  custom: {
    50: '#ff96f4',
    500: '#ff5fef',
    950: '#000000',
  },
}
SCSS
$custom: #ff5fef;
$custom-light: #ff96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5fef",
  "rgb": {
    "r": 255,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 306,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.74155,
    "c": 0.24793,
    "h": 331.9
  },
  "luminance": 0.35676
}

Semantic roles & 50–950 ramp

primary
#FF5FEF
secondary
#C5F5CA
accent
#E61700
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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