#FF9AFE#FF9AFE

#FF9AFE is a very light, vivid purple. Relative luminance 0.515; OKLCH L 82.3% C 0.172 H 327.3°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#FF9AFE
RGBrgb(255, 154, 254)
HSLhsl(301, 100%, 80%)
HSVhsv(301, 40%, 100%)
CMYKcmyk(0%, 39.6%, 0.4%, 0%)
CIE-LABlab(77.00, 52.14, -34.04)
CIE-LCHlch(77.00, 62.27, 326.86°)
OKLaboklab(82.28% 0.1448 -0.0928)
OKLCHoklch(82.28% 0.172 327.3)
XYZxyz(70.6837, 51.5302, 99.9698)
Luminance0.5153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9AFE #9AFF9B
analogous
#CD9AFF #FF9AFE #FF9ACB
triadic
#FF9AFE #FEFF9A #9AFEFF
tetradic
#FF9AFE #FFCD9A #9AFF9B #9ACBFF
square
#FF9AFE #FFCD9A #9AFF9B #9ACBFF
split-complementary
#FF9AFE #CBFF9A #9AFFCD
monochromatic
#FF20FD #FF5DFD #FF9AFE #FFD7FF #FFE0FF

Accessibility & contrast

On white

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

On black

11.31
#FF9AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9AFE
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9AFE#FFFFFF#000000##000000
##FF9AFE1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff9afe;
/* rgb */ color: rgb(255, 154, 254);
/* oklch */ color: oklch(82.3% 0.172 327.3);
Tailwind
colors: {
  custom: {
    50: '#ffbaff',
    500: '#ff9afe',
    950: '#000000',
  },
}
SCSS
$custom: #ff9afe;
$custom-light: #ffbaff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9afe",
  "rgb": {
    "r": 255,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 300.594,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.82284,
    "c": 0.17203,
    "h": 327.3
  },
  "luminance": 0.51527
}

Semantic roles & 50–950 ramp

primary
#FF9AFE
secondary
#5BE25C
accent
#E60200
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FF9AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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