#FF5DFF#FF5DFF

#FF5DFF is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.8% C 0.262 H 327.8°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#FF5DFF
RGBrgb(255, 93, 255)
HSLhsl(300, 100%, 68%)
HSVhsv(300, 64%, 100%)
CMYKcmyk(0%, 63.5%, 0%, 0%)
CIE-LABlab(66.76, 79.70, -50.59)
CIE-LCHlch(66.76, 94.40, 327.59°)
OKLaboklab(74.75% 0.2221 -0.1398)
OKLCHoklch(74.75% 0.262 327.8)
XYZxyz(63.2035, 36.3130, 98.2685)
Luminance0.3631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5DFF #5DFF5D
analogous
#AE5DFF #FF5DFF #FF5DAE
triadic
#FF5DFF #FFFF5D #5DFFFF
tetradic
#FF5DFF #FFAE5D #5DFF5D #5DAEFF
square
#FF5DFF #FFAE5D #5DFF5D #5DAEFF
split-complementary
#FF5DFF #AEFF5D #5DFFAE
monochromatic
#E200E2 #FF20FF #FF5DFF #FF9AFF #FFD7FF

Accessibility & contrast

On white

2.54
#FF5DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#FF5DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5DFF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5DFF#FFFFFF#000000##000000
##FF5DFF1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4795FF
Deuteranopia (green-blind)
#85AAFB
Tritanopia (blue-blind)
#FF73A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ff5dff;
/* rgb */ color: rgb(255, 93, 255);
/* oklch */ color: oklch(74.8% 0.262 327.8);
Tailwind
colors: {
  custom: {
    50: '#ff96ff',
    500: '#ff5dff',
    950: '#000000',
  },
}
SCSS
$custom: #ff5dff;
$custom-light: #ff96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5dff",
  "rgb": {
    "r": 255,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.74751,
    "c": 0.26246,
    "h": 327.8
  },
  "luminance": 0.36309
}

Semantic roles & 50–950 ramp

primary
#FF5DFF
secondary
#C3F4C3
accent
#E60000
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E18
muted
#877E86

Preview Lab

Preview with #FF5DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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