#FF5FEC#FF5FEC

#FF5FEC is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 74.0% C 0.246 H 332.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#FF5FEC
RGBrgb(255, 95, 236)
HSLhsl(307, 100%, 69%)
HSVhsv(307, 63%, 100%)
CMYKcmyk(0%, 62.7%, 7.5%, 0%)
CIE-LABlab(66.14, 75.99, -41.08)
CIE-LCHlch(66.14, 86.38, 331.60°)
OKLaboklab(74.01% 0.2185 -0.1124)
OKLCHoklch(74.01% 0.246 332.8)
XYZxyz(60.4727, 35.5052, 83.0088)
Luminance0.3550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5FEC #5FFF72
analogous
#C25FFF #FF5FEC #FF5F9C
triadic
#FF5FEC #ECFF5F #5FECFF
tetradic
#FF5FEC #FFC25F #5FFF72 #5F9CFF
square
#FF5FEC #FFC25F #5FFF72 #5F9CFF
split-complementary
#FF5FEC #9CFF5F #5FFFC2
monochromatic
#E400C9 #FF22E5 #FF5FEC #FF9CF3 #FFD9FB

Accessibility & contrast

On white

2.59
#FF5FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#FF5FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5FEC
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5FEC#FFFFFF#000000##000000
##FF5FEC1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#FF6D9D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ff5fec;
/* rgb */ color: rgb(255, 95, 236);
/* oklch */ color: oklch(74.0% 0.246 332.8);
Tailwind
colors: {
  custom: {
    50: '#ff96f2',
    500: '#ff5fec',
    950: '#000000',
  },
}
SCSS
$custom: #ff5fec;
$custom-light: #ff96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5fec",
  "rgb": {
    "r": 255,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 307.125,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.74013,
    "c": 0.24573,
    "h": 332.8
  },
  "luminance": 0.35501
}

Semantic roles & 50–950 ramp

primary
#FF5FEC
secondary
#C5F5CB
accent
#E61B00
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF5FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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