#FF5AF6#FF5AF6

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

Color values

HEX#FF5AF6
RGBrgb(255, 90, 246)
HSLhsl(303, 100%, 68%)
HSVhsv(303, 65%, 100%)
CMYKcmyk(0%, 64.7%, 3.5%, 0%)
CIE-LABlab(65.93, 79.40, -46.95)
CIE-LCHlch(65.93, 92.24, 329.40°)
OKLaboklab(74.01% 0.2248 -0.1293)
OKLCHoklch(74.01% 0.259 330.1)
XYZxyz(61.5304, 35.2306, 90.7303)
Luminance0.3523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5AF6 #5AFF63
analogous
#B65AFF #FF5AF6 #FF5AA3
triadic
#FF5AF6 #F6FF5A #5AF6FF
tetradic
#FF5AF6 #FFB65A #5AFF63 #5AA3FF
square
#FF5AF6 #FFB65A #5AFF63 #5AA3FF
split-complementary
#FF5AF6 #A3FF5A #5AFFB6
monochromatic
#DF00D2 #FF1DF3 #FF5AF6 #FF97F9 #FFD4FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FF5AF6#FFFFFF#000000##000000
##FF5AF61.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)
#4B92FB
Deuteranopia (green-blind)
#88A8F2
Tritanopia (blue-blind)
#FF6DA1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ff5af6;
/* rgb */ color: rgb(255, 90, 246);
/* oklch */ color: oklch(74.0% 0.259 330.1);
Tailwind
colors: {
  custom: {
    50: '#ff94f9',
    500: '#ff5af6',
    950: '#000000',
  },
}
SCSS
$custom: #ff5af6;
$custom-light: #ff94f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5af6",
  "rgb": {
    "r": 255,
    "g": 90,
    "b": 246
  },
  "hsl": {
    "h": 303.273,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.74009,
    "c": 0.2593,
    "h": 330.1
  },
  "luminance": 0.35226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF5AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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