#FF9AFF#FF9AFF

#FF9AFF is a very light, vivid purple. Relative luminance 0.516; OKLCH L 82.3% C 0.173 H 327.0°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#FF9AFF
RGBrgb(255, 154, 255)
HSLhsl(300, 100%, 80%)
HSVhsv(300, 40%, 100%)
CMYKcmyk(0%, 39.6%, 0%, 0%)
CIE-LABlab(77.04, 52.32, -34.52)
CIE-LCHlch(77.04, 62.68, 326.58°)
OKLaboklab(82.33% 0.1451 -0.0942)
OKLCHoklch(82.33% 0.173 327)
XYZxyz(70.8442, 51.5944, 100.8154)
Luminance0.5159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9AFF #9AFF9A
analogous
#CC9AFF #FF9AFF #FF9ACC
triadic
#FF9AFF #FFFF9A #9AFFFF
tetradic
#FF9AFF #FFCC9A #9AFF9A #9ACCFF
square
#FF9AFF #FFCC9A #9AFF9A #9ACCFF
split-complementary
#FF9AFF #CCFF9A #9AFFCC
monochromatic
#FF20FF #FF5DFF #FF9AFF #FFD7FF #FFE0FF

Accessibility & contrast

On white

1.86
#FF9AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#FF9AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9AFF
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9AFF#FFFFFF#000000##000000
##FF9AFF1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B6FF
Deuteranopia (green-blind)
#ADC3FC
Tritanopia (blue-blind)
#FFA4C1
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ff9aff;
/* rgb */ color: rgb(255, 154, 255);
/* oklch */ color: oklch(82.3% 0.173 327.0);
Tailwind
colors: {
  custom: {
    50: '#ffbaff',
    500: '#ff9aff',
    950: '#000000',
  },
}
SCSS
$custom: #ff9aff;
$custom-light: #ffbaff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9aff",
  "rgb": {
    "r": 255,
    "g": 154,
    "b": 255
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.82325,
    "c": 0.17294,
    "h": 327
  },
  "luminance": 0.51591
}

Semantic roles & 50–950 ramp

primary
#FF9AFF
secondary
#5BE25B
accent
#E60000
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FF9AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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