#FF5DF8#FF5DF8

#FF5DF8 is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 74.4% C 0.257 H 329.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#FF5DF8
RGBrgb(255, 93, 248)
HSLhsl(303, 100%, 68%)
HSVhsv(303, 64%, 100%)
CMYKcmyk(0%, 63.5%, 2.7%, 0%)
CIE-LABlab(66.42, 78.60, -47.27)
CIE-LCHlch(66.42, 91.72, 328.97°)
OKLaboklab(74.4% 0.2217 -0.1302)
OKLCHoklch(74.4% 0.257 329.6)
XYZxyz(62.0971, 35.8704, 92.4418)
Luminance0.3587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5DF8 #5DFF64
analogous
#B55DFF #FF5DF8 #FF5DA7
triadic
#FF5DF8 #F8FF5D #5DF8FF
tetradic
#FF5DF8 #FFB55D #5DFF64 #5DA7FF
square
#FF5DF8 #FFB55D #5DFF64 #5DA7FF
split-complementary
#FF5DF8 #A7FF5D #5DFFB5
monochromatic
#E200D8 #FF20F5 #FF5DF8 #FF9AFB #FFD7FD

Accessibility & contrast

On white

2.57
#FF5DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#FF5DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5DF8
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5DF8#FFFFFF#000000##000000
##FF5DF81.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FD
Deuteranopia (green-blind)
#88A9F4
Tritanopia (blue-blind)
#FF70A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ff5df8;
/* rgb */ color: rgb(255, 93, 248);
/* oklch */ color: oklch(74.4% 0.257 329.6);
Tailwind
colors: {
  custom: {
    50: '#ff96fb',
    500: '#ff5df8',
    950: '#000000',
  },
}
SCSS
$custom: #ff5df8;
$custom-light: #ff96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5df8",
  "rgb": {
    "r": 255,
    "g": 93,
    "b": 248
  },
  "hsl": {
    "h": 302.593,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.74397,
    "c": 0.25715,
    "h": 329.6
  },
  "luminance": 0.35866
}

Semantic roles & 50–950 ramp

primary
#FF5DF8
secondary
#C3F4C5
accent
#E60A00
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF5DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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