#FF9AFA#FF9AFA

#FF9AFA is a very light, vivid purple. Relative luminance 0.513; OKLCH L 82.1% C 0.168 H 328.7°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#FF9AFA
RGBrgb(255, 154, 250)
HSLhsl(303, 100%, 80%)
HSVhsv(303, 40%, 100%)
CMYKcmyk(0%, 39.6%, 2%, 0%)
CIE-LABlab(76.85, 51.44, -32.12)
CIE-LCHlch(76.85, 60.64, 328.02°)
OKLaboklab(82.12% 0.144 -0.0874)
OKLCHoklch(82.12% 0.168 328.7)
XYZxyz(70.0498, 51.2767, 96.6315)
Luminance0.5127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9AFA #9AFF9F
analogous
#D19AFF #FF9AFA #FF9AC8
triadic
#FF9AFA #FAFF9A #9AFAFF
tetradic
#FF9AFA #FFD19A #9AFF9F #9AC8FF
square
#FF9AFA #FFD19A #9AFF9F #9AC8FF
split-complementary
#FF9AFA #C8FF9A #9AFFD1
monochromatic
#FF20F4 #FF5DF7 #FF9AFA #FFD7FD #FFE0FD

Accessibility & contrast

On white

1.87
#FF9AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#FF9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9AFA
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9AFA#FFFFFF#000000##000000
##FF9AFA1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B5FD
Deuteranopia (green-blind)
#AFC3F7
Tritanopia (blue-blind)
#FFA2BF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ff9afa;
/* rgb */ color: rgb(255, 154, 250);
/* oklch */ color: oklch(82.1% 0.168 328.7);
Tailwind
colors: {
  custom: {
    50: '#ffbafc',
    500: '#ff9afa',
    950: '#000000',
  },
}
SCSS
$custom: #ff9afa;
$custom-light: #ffbafc;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9afa",
  "rgb": {
    "r": 255,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 302.97,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.82119,
    "c": 0.16841,
    "h": 328.7
  },
  "luminance": 0.51273
}

Semantic roles & 50–950 ramp

primary
#FF9AFA
secondary
#5BE262
accent
#E60B00
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FF9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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