#FF5AFE#FF5AFE

#FF5AFE is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 74.4% C 0.265 H 328.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#FF5AFE
RGBrgb(255, 90, 254)
HSLhsl(300, 100%, 68%)
HSVhsv(300, 65%, 100%)
CMYKcmyk(0%, 64.7%, 0.4%, 0%)
CIE-LABlab(66.31, 80.65, -50.74)
CIE-LCHlch(66.31, 95.28, 327.82°)
OKLaboklab(74.41% 0.2252 -0.1402)
OKLCHoklch(74.41% 0.265 328.1)
XYZxyz(62.7848, 35.7324, 97.3369)
Luminance0.3573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5AFE #5AFF5B
analogous
#AE5AFF #FF5AFE #FF5AAB
triadic
#FF5AFE #FEFF5A #5AFEFF
tetradic
#FF5AFE #FFAE5A #5AFF5B #5AABFF
square
#FF5AFE #FFAE5A #5AFF5B #5AABFF
split-complementary
#FF5AFE #ABFF5A #5AFFAE
monochromatic
#DF00DD #FF1DFE #FF5AFE #FF97FE #FFD4FF

Accessibility & contrast

On white

2.58
#FF5AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#FF5AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5AFE
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5AFE#FFFFFF#000000##000000
##FF5AFE1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#84A9FA
Tritanopia (blue-blind)
#FF70A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ff5afe;
/* rgb */ color: rgb(255, 90, 254);
/* oklch */ color: oklch(74.4% 0.265 328.1);
Tailwind
colors: {
  custom: {
    50: '#ff94ff',
    500: '#ff5afe',
    950: '#000000',
  },
}
SCSS
$custom: #ff5afe;
$custom-light: #ff94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5afe",
  "rgb": {
    "r": 255,
    "g": 90,
    "b": 254
  },
  "hsl": {
    "h": 300.364,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.74414,
    "c": 0.2653,
    "h": 328.1
  },
  "luminance": 0.35728
}

Semantic roles & 50–950 ramp

primary
#FF5AFE
secondary
#C1F4C1
accent
#E60100
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E18
muted
#877E86

Preview Lab

Preview with #FF5AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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