#FF5FF8#FF5FF8

#FF5FF8 is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 74.6% C 0.255 H 329.6°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#FF5FF8
RGBrgb(255, 95, 248)
HSLhsl(303, 100%, 69%)
HSVhsv(303, 63%, 100%)
CMYKcmyk(0%, 62.7%, 2.7%, 0%)
CIE-LABlab(66.69, 77.84, -46.85)
CIE-LCHlch(66.69, 90.85, 328.96°)
OKLaboklab(74.59% 0.2196 -0.129)
OKLCHoklch(74.59% 0.255 329.6)
XYZxyz(62.2750, 36.2261, 92.5011)
Luminance0.3622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5FF8 #5FFF66
analogous
#B65FFF #FF5FF8 #FF5FA8
triadic
#FF5FF8 #F8FF5F #5FF8FF
tetradic
#FF5FF8 #FFB65F #5FFF66 #5FA8FF
square
#FF5FF8 #FFB65F #5FFF66 #5FA8FF
split-complementary
#FF5FF8 #A8FF5F #5FFFB6
monochromatic
#E400DA #FF22F5 #FF5FF8 #FF9CFB #FFD9FD

Accessibility & contrast

On white

2.55
#FF5FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#FF5FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5FF8
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5FF8#FFFFFF#000000##000000
##FF5FF81.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FD
Deuteranopia (green-blind)
#89AAF4
Tritanopia (blue-blind)
#FF71A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ff5ff8;
/* rgb */ color: rgb(255, 95, 248);
/* oklch */ color: oklch(74.6% 0.255 329.6);
Tailwind
colors: {
  custom: {
    50: '#ff97fb',
    500: '#ff5ff8',
    950: '#000000',
  },
}
SCSS
$custom: #ff5ff8;
$custom-light: #ff97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5ff8",
  "rgb": {
    "r": 255,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 302.625,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.74594,
    "c": 0.25467,
    "h": 329.6
  },
  "luminance": 0.36222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF5FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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