#FF9DFB#FF9DFB

#FF9DFB is a very light, vivid purple. Relative luminance 0.523; OKLCH L 82.6% C 0.164 H 328.4°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#FF9DFB
RGBrgb(255, 157, 251)
HSLhsl(302, 100%, 81%)
HSVhsv(302, 38%, 100%)
CMYKcmyk(0%, 38.4%, 1.6%, 0%)
CIE-LABlab(77.48, 50.10, -31.67)
CIE-LCHlch(77.48, 59.27, 327.70°)
OKLaboklab(82.61% 0.1399 -0.0861)
OKLCHoklch(82.61% 0.164 328.4)
XYZxyz(70.7084, 52.3422, 97.6266)
Luminance0.5234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9DFB #9DFFA1
analogous
#D29DFF #FF9DFB #FF9DCA
triadic
#FF9DFB #FBFF9D #9DFBFF
tetradic
#FF9DFB #FFD29D #9DFFA1 #9DCAFF
square
#FF9DFB #FFD29D #9DFFA1 #9DCAFF
split-complementary
#FF9DFB #CAFF9D #9DFFD2
monochromatic
#FF23F6 #FF60F9 #FF9DFB #FFDAFD #FFE0FE

Accessibility & contrast

On white

1.83
#FF9DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#FF9DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9DFB
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9DFB#FFFFFF#000000##000000
##FF9DFB1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FE
Deuteranopia (green-blind)
#B1C4F8
Tritanopia (blue-blind)
#FFA5C1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ff9dfb;
/* rgb */ color: rgb(255, 157, 251);
/* oklch */ color: oklch(82.6% 0.164 328.4);
Tailwind
colors: {
  custom: {
    50: '#ffbcfd',
    500: '#ff9dfb',
    950: '#000000',
  },
}
SCSS
$custom: #ff9dfb;
$custom-light: #ffbcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9dfb",
  "rgb": {
    "r": 255,
    "g": 157,
    "b": 251
  },
  "hsl": {
    "h": 302.449,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.82611,
    "c": 0.16431,
    "h": 328.4
  },
  "luminance": 0.52339
}

Semantic roles & 50–950 ramp

primary
#FF9DFB
secondary
#5EE363
accent
#E60900
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FF9DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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