#FF5DEC#FF5DEC

#FF5DEC is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.8% C 0.248 H 332.8°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#FF5DEC
RGBrgb(255, 93, 236)
HSLhsl(307, 100%, 68%)
HSVhsv(307, 64%, 100%)
CMYKcmyk(0%, 63.5%, 7.5%, 0%)
CIE-LABlab(65.86, 76.75, -41.52)
CIE-LCHlch(65.86, 87.26, 331.59°)
OKLaboklab(73.81% 0.2207 -0.1136)
OKLCHoklch(73.81% 0.248 332.8)
XYZxyz(60.2948, 35.1495, 82.9495)
Luminance0.3514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5DEC #5DFF70
analogous
#C15DFF #FF5DEC #FF5D9B
triadic
#FF5DEC #ECFF5D #5DECFF
tetradic
#FF5DEC #FFC15D #5DFF70 #5D9BFF
square
#FF5DEC #FFC15D #5DFF70 #5D9BFF
split-complementary
#FF5DEC #9BFF5D #5DFFC1
monochromatic
#E200C7 #FF20E5 #FF5DEC #FF9AF3 #FFD7FA

Accessibility & contrast

On white

2.62
#FF5DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#FF5DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5DEC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5DEC#FFFFFF#000000##000000
##FF5DEC1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#8EA8E8
Tritanopia (blue-blind)
#FF6B9D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ff5dec;
/* rgb */ color: rgb(255, 93, 236);
/* oklch */ color: oklch(73.8% 0.248 332.8);
Tailwind
colors: {
  custom: {
    50: '#ff95f2',
    500: '#ff5dec',
    950: '#000000',
  },
}
SCSS
$custom: #ff5dec;
$custom-light: #ff95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5dec",
  "rgb": {
    "r": 255,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 307.037,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.73813,
    "c": 0.24827,
    "h": 332.8
  },
  "luminance": 0.35145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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