#FF5FE8#FF5FE8

#FF5FE8 is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 73.8% C 0.243 H 333.9°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#FF5FE8
RGBrgb(255, 95, 232)
HSLhsl(309, 100%, 69%)
HSVhsv(309, 63%, 100%)
CMYKcmyk(0%, 62.7%, 9%, 0%)
CIE-LABlab(65.96, 75.39, -39.14)
CIE-LCHlch(65.96, 84.94, 332.56°)
OKLaboklab(73.83% 0.2181 -0.1069)
OKLCHoklch(73.83% 0.243 333.9)
XYZxyz(59.8980, 35.2753, 79.9824)
Luminance0.3527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5FE8 #5FFF76
analogous
#C65FFF #FF5FE8 #FF5F98
triadic
#FF5FE8 #E8FF5F #5FE8FF
tetradic
#FF5FE8 #FFC65F #5FFF76 #5F98FF
square
#FF5FE8 #FFC65F #5FFF76 #5F98FF
split-complementary
#FF5FE8 #98FF5F #5FFFC6
monochromatic
#E400C3 #FF22DF #FF5FE8 #FF9CF1 #FFD9FA

Accessibility & contrast

On white

2.61
#FF5FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#FF5FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5FE8
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5FE8#FFFFFF#000000##000000
##FF5FE81.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EC
Deuteranopia (green-blind)
#91A9E4
Tritanopia (blue-blind)
#FF6B9B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ff5fe8;
/* rgb */ color: rgb(255, 95, 232);
/* oklch */ color: oklch(73.8% 0.243 333.9);
Tailwind
colors: {
  custom: {
    50: '#ff96ef',
    500: '#ff5fe8',
    950: '#000000',
  },
}
SCSS
$custom: #ff5fe8;
$custom-light: #ff96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5fe8",
  "rgb": {
    "r": 255,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 308.625,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73826,
    "c": 0.24284,
    "h": 333.9
  },
  "luminance": 0.35271
}

Semantic roles & 50–950 ramp

primary
#FF5FE8
secondary
#C5F5CC
accent
#E62100
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FF5FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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