#FF5AFA#FF5AFA

#FF5AFA is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 74.2% C 0.262 H 329.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#FF5AFA
RGBrgb(255, 90, 250)
HSLhsl(302, 100%, 68%)
HSVhsv(302, 65%, 100%)
CMYKcmyk(0%, 64.7%, 2%, 0%)
CIE-LABlab(66.12, 80.02, -48.85)
CIE-LCHlch(66.12, 93.75, 328.60°)
OKLaboklab(74.21% 0.225 -0.1348)
OKLCHoklch(74.21% 0.262 329.1)
XYZxyz(62.1509, 35.4789, 93.9986)
Luminance0.3547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5AFA #5AFF5F
analogous
#B15AFF #FF5AFA #FF5AA8
triadic
#FF5AFA #FAFF5A #5AFAFF
tetradic
#FF5AFA #FFB15A #5AFF5F #5AA8FF
square
#FF5AFA #FFB15A #5AFF5F #5AA8FF
split-complementary
#FF5AFA #A8FF5A #5AFFB1
monochromatic
#DF00D8 #FF1DF8 #FF5AFA #FF97FC #FFD4FE

Accessibility & contrast

On white

2.59
#FF5AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#FF5AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5AFA
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5AFA#FFFFFF#000000##000000
##FF5AFA1.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#86A9F6
Tritanopia (blue-blind)
#FF6FA3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ff5afa;
/* rgb */ color: rgb(255, 90, 250);
/* oklch */ color: oklch(74.2% 0.262 329.1);
Tailwind
colors: {
  custom: {
    50: '#ff94fc',
    500: '#ff5afa',
    950: '#000000',
  },
}
SCSS
$custom: #ff5afa;
$custom-light: #ff94fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5afa",
  "rgb": {
    "r": 255,
    "g": 90,
    "b": 250
  },
  "hsl": {
    "h": 301.818,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.7421,
    "c": 0.26228,
    "h": 329.1
  },
  "luminance": 0.35474
}

Semantic roles & 50–950 ramp

primary
#FF5AFA
secondary
#C1F4C2
accent
#E60700
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF5AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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