#FF5AF5#FF5AF5

#FF5AF5 is a light, highly saturated purple. Relative luminance 0.352; OKLCH L 74.0% C 0.259 H 330.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#FF5AF5
RGBrgb(255, 90, 245)
HSLhsl(304, 100%, 68%)
HSVhsv(304, 65%, 100%)
CMYKcmyk(0%, 64.7%, 3.9%, 0%)
CIE-LABlab(65.88, 79.24, -46.47)
CIE-LCHlch(65.88, 91.86, 329.61°)
OKLaboklab(73.96% 0.2247 -0.1279)
OKLCHoklch(73.96% 0.259 330.4)
XYZxyz(61.3773, 35.1694, 89.9242)
Luminance0.3517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5AF5 #5AFF64
analogous
#B65AFF #FF5AF5 #FF5AA3
triadic
#FF5AF5 #F5FF5A #5AF5FF
tetradic
#FF5AF5 #FFB65A #5AFF64 #5AA3FF
square
#FF5AF5 #FFB65A #5AFF64 #5AA3FF
split-complementary
#FF5AF5 #A3FF5A #5AFFB6
monochromatic
#DF00D1 #FF1DF1 #FF5AF5 #FF97F9 #FFD4FC

Accessibility & contrast

On white

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

On black

8.03
#FF5AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5AF5
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5AF5#FFFFFF#000000##000000
##FF5AF51.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FA
Deuteranopia (green-blind)
#88A8F1
Tritanopia (blue-blind)
#FF6DA0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ff5af5;
/* rgb */ color: rgb(255, 90, 245);
/* oklch */ color: oklch(74.0% 0.259 330.4);
Tailwind
colors: {
  custom: {
    50: '#ff94f9',
    500: '#ff5af5',
    950: '#000000',
  },
}
SCSS
$custom: #ff5af5;
$custom-light: #ff94f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5af5",
  "rgb": {
    "r": 255,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 303.636,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.73959,
    "c": 0.25856,
    "h": 330.4
  },
  "luminance": 0.35165
}

Semantic roles & 50–950 ramp

primary
#FF5AF5
secondary
#C1F4C4
accent
#E60E00
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF5AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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