#FF9DFF#FF9DFF

#FF9DFF is a very light, vivid purple. Relative luminance 0.526; OKLCH L 82.8% C 0.168 H 327.0°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#FF9DFF
RGBrgb(255, 157, 255)
HSLhsl(300, 100%, 81%)
HSVhsv(300, 38%, 100%)
CMYKcmyk(0%, 38.4%, 0%, 0%)
CIE-LABlab(77.64, 50.80, -33.60)
CIE-LCHlch(77.64, 60.91, 326.52°)
OKLaboklab(82.77% 0.1408 -0.0916)
OKLCHoklch(82.77% 0.168 327)
XYZxyz(71.3456, 52.5971, 100.9825)
Luminance0.5259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9DFF #9DFF9D
analogous
#CE9DFF #FF9DFF #FF9DCE
triadic
#FF9DFF #FFFF9D #9DFFFF
tetradic
#FF9DFF #FFCE9D #9DFF9D #9DCEFF
square
#FF9DFF #FFCE9D #9DFF9D #9DCEFF
split-complementary
#FF9DFF #CEFF9D #9DFFCE
monochromatic
#FF23FF #FF60FF #FF9DFF #FFDAFF #FFE0FF

Accessibility & contrast

On white

1.82
#FF9DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#FF9DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9DFF
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9DFF#FFFFFF#000000##000000
##FF9DFF1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B8FF
Deuteranopia (green-blind)
#AFC4FC
Tritanopia (blue-blind)
#FFA6C2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ff9dff;
/* rgb */ color: rgb(255, 157, 255);
/* oklch */ color: oklch(82.8% 0.168 327.0);
Tailwind
colors: {
  custom: {
    50: '#ffbcff',
    500: '#ff9dff',
    950: '#000000',
  },
}
SCSS
$custom: #ff9dff;
$custom-light: #ffbcff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9dff",
  "rgb": {
    "r": 255,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.82774,
    "c": 0.16797,
    "h": 327
  },
  "luminance": 0.52594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF9DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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