#FF5DF6#FF5DF6

#FF5DF6 is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 74.3% C 0.256 H 330.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#FF5DF6
RGBrgb(255, 93, 246)
HSLhsl(303, 100%, 68%)
HSVhsv(303, 64%, 100%)
CMYKcmyk(0%, 63.5%, 3.5%, 0%)
CIE-LABlab(66.33, 78.28, -46.32)
CIE-LCHlch(66.33, 90.96, 329.39°)
OKLaboklab(74.3% 0.2216 -0.1275)
OKLCHoklch(74.3% 0.256 330.1)
XYZxyz(61.7885, 35.7470, 90.8164)
Luminance0.3574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5DF6 #5DFF66
analogous
#B75DFF #FF5DF6 #FF5DA5
triadic
#FF5DF6 #F6FF5D #5DF6FF
tetradic
#FF5DF6 #FFB75D #5DFF66 #5DA5FF
square
#FF5DF6 #FFB75D #5DFF66 #5DA5FF
split-complementary
#FF5DF6 #A5FF5D #5DFFB7
monochromatic
#E200D5 #FF20F3 #FF5DF6 #FF9AF9 #FFD7FD

Accessibility & contrast

On white

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

On black

8.15
#FF5DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5DF6
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5DF6#FFFFFF#000000##000000
##FF5DF61.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#89A9F2
Tritanopia (blue-blind)
#FF6FA2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ff5df6;
/* rgb */ color: rgb(255, 93, 246);
/* oklch */ color: oklch(74.3% 0.256 330.1);
Tailwind
colors: {
  custom: {
    50: '#ff96f9',
    500: '#ff5df6',
    950: '#000000',
  },
}
SCSS
$custom: #ff5df6;
$custom-light: #ff96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5df6",
  "rgb": {
    "r": 255,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 303.333,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.74297,
    "c": 0.25564,
    "h": 330.1
  },
  "luminance": 0.35743
}

Semantic roles & 50–950 ramp

primary
#FF5DF6
secondary
#C3F4C6
accent
#E60D00
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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