#FF5FE5#FF5FE5

#FF5FE5 is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.7% C 0.241 H 334.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#FF5FE5
RGBrgb(255, 95, 229)
HSLhsl(310, 100%, 69%)
HSVhsv(310, 63%, 100%)
CMYKcmyk(0%, 62.7%, 10.2%, 0%)
CIE-LABlab(65.83, 74.94, -37.68)
CIE-LCHlch(65.83, 83.88, 333.31°)
OKLaboklab(73.69% 0.2177 -0.1027)
OKLCHoklch(73.69% 0.241 334.7)
XYZxyz(59.4755, 35.1063, 77.7573)
Luminance0.3510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5FE5 #5FFF79
analogous
#C95FFF #FF5FE5 #FF5F95
triadic
#FF5FE5 #E5FF5F #5FE5FF
tetradic
#FF5FE5 #FFC95F #5FFF79 #5F95FF
square
#FF5FE5 #FFC95F #5FFF79 #5F95FF
split-complementary
#FF5FE5 #95FF5F #5FFFC9
monochromatic
#E400BF #FF22DB #FF5FE5 #FF9CEF #FFD9F9

Accessibility & contrast

On white

2.62
#FF5FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#FF5FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5FE5
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5FE5#FFFFFF#000000##000000
##FF5FE51.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E91E9
Deuteranopia (green-blind)
#92A9E1
Tritanopia (blue-blind)
#FF6A9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ff5fe5;
/* rgb */ color: rgb(255, 95, 229);
/* oklch */ color: oklch(73.7% 0.241 334.7);
Tailwind
colors: {
  custom: {
    50: '#ff96ed',
    500: '#ff5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #ff5fe5;
$custom-light: #ff96ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5fe5",
  "rgb": {
    "r": 255,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 309.75,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73687,
    "c": 0.2407,
    "h": 334.7
  },
  "luminance": 0.35102
}

Semantic roles & 50–950 ramp

primary
#FF5FE5
secondary
#C5F5CD
accent
#E62500
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84

Preview Lab

Preview with #FF5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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