#FF5FF7#FF5FF7

#FF5FF7 is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 74.5% C 0.254 H 329.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#FF5FF7
RGBrgb(255, 95, 247)
HSLhsl(303, 100%, 69%)
HSVhsv(303, 63%, 100%)
CMYKcmyk(0%, 62.7%, 3.1%, 0%)
CIE-LABlab(66.65, 77.68, -46.37)
CIE-LCHlch(66.65, 90.47, 329.17°)
OKLaboklab(74.54% 0.2195 -0.1276)
OKLCHoklch(74.54% 0.254 329.8)
XYZxyz(62.1203, 36.1642, 91.6862)
Luminance0.3616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5FF7 #5FFF67
analogous
#B75FFF #FF5FF7 #FF5FA7
triadic
#FF5FF7 #F7FF5F #5FF7FF
tetradic
#FF5FF7 #FFB75F #5FFF67 #5FA7FF
square
#FF5FF7 #FFB75F #5FFF67 #5FA7FF
split-complementary
#FF5FF7 #A7FF5F #5FFFB7
monochromatic
#E400D8 #FF22F4 #FF5FF7 #FF9CFA #FFD9FD

Accessibility & contrast

On white

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

On black

8.23
#FF5FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5FF7
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5FF7#FFFFFF#000000##000000
##FF5FF71.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5194FC
Deuteranopia (green-blind)
#8AAAF3
Tritanopia (blue-blind)
#FF71A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ff5ff7;
/* rgb */ color: rgb(255, 95, 247);
/* oklch */ color: oklch(74.5% 0.254 329.8);
Tailwind
colors: {
  custom: {
    50: '#ff97fa',
    500: '#ff5ff7',
    950: '#000000',
  },
}
SCSS
$custom: #ff5ff7;
$custom-light: #ff97fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5ff7",
  "rgb": {
    "r": 255,
    "g": 95,
    "b": 247
  },
  "hsl": {
    "h": 303,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.74544,
    "c": 0.25391,
    "h": 329.8
  },
  "luminance": 0.3616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF5FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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