#FF5AFD#FF5AFD

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

Color values

HEX#FF5AFD
RGBrgb(255, 90, 253)
HSLhsl(301, 100%, 68%)
HSVhsv(301, 65%, 100%)
CMYKcmyk(0%, 64.7%, 0.8%, 0%)
CIE-LABlab(66.27, 80.49, -50.27)
CIE-LCHlch(66.27, 94.90, 328.01°)
OKLaboklab(74.36% 0.2252 -0.1389)
OKLCHoklch(74.36% 0.265 328.3)
XYZxyz(62.6250, 35.6685, 96.4957)
Luminance0.3566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5AFD #5AFF5C
analogous
#AE5AFF #FF5AFD #FF5AAB
triadic
#FF5AFD #FDFF5A #5AFDFF
tetradic
#FF5AFD #FFAE5A #5AFF5C #5AABFF
square
#FF5AFD #FFAE5A #5AFF5C #5AABFF
split-complementary
#FF5AFD #ABFF5A #5AFFAE
monochromatic
#DF00DC #FF1DFC #FF5AFD #FF97FE #FFD4FE

Accessibility & contrast

On white

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

On black

8.13
#FF5AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5AFD
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5AFD#FFFFFF#000000##000000
##FF5AFD1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff5afd;
/* rgb */ color: rgb(255, 90, 253);
/* oklch */ color: oklch(74.4% 0.265 328.3);
Tailwind
colors: {
  custom: {
    50: '#ff94fe',
    500: '#ff5afd',
    950: '#000000',
  },
}
SCSS
$custom: #ff5afd;
$custom-light: #ff94fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5afd",
  "rgb": {
    "r": 255,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 300.727,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.74363,
    "c": 0.26454,
    "h": 328.3
  },
  "luminance": 0.35664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF5AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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