#FF9BF7#FF9BF7

#FF9BF7 is a very light, vivid purple. Relative luminance 0.514; OKLCH L 82.1% C 0.164 H 329.8°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#FF9BF7
RGBrgb(255, 155, 247)
HSLhsl(305, 100%, 80%)
HSVhsv(305, 39%, 100%)
CMYKcmyk(0%, 39.2%, 3.1%, 0%)
CIE-LABlab(76.93, 50.42, -30.36)
CIE-LCHlch(76.93, 58.85, 328.94°)
OKLaboklab(82.15% 0.1419 -0.0824)
OKLCHoklch(82.15% 0.164 329.8)
XYZxyz(69.7489, 51.4215, 94.2291)
Luminance0.5142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9BF7 #9BFFA3
analogous
#D59BFF #FF9BF7 #FF9BC5
triadic
#FF9BF7 #F7FF9B #9BF7FF
tetradic
#FF9BF7 #FFD59B #9BFFA3 #9BC5FF
square
#FF9BF7 #FFD59B #9BFFA3 #9BC5FF
split-complementary
#FF9BF7 #C5FF9B #9BFFD5
monochromatic
#FF21ED #FF5EF2 #FF9BF7 #FFD8FC #FFE0FD

Accessibility & contrast

On white

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

On black

11.28
#FF9BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9BF7
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9BF7#FFFFFF#000000##000000
##FF9BF71.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B5FA
Deuteranopia (green-blind)
#B1C3F4
Tritanopia (blue-blind)
#FFA3BE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ff9bf7;
/* rgb */ color: rgb(255, 155, 247);
/* oklch */ color: oklch(82.1% 0.164 329.8);
Tailwind
colors: {
  custom: {
    50: '#ffbafa',
    500: '#ff9bf7',
    950: '#000000',
  },
}
SCSS
$custom: #ff9bf7;
$custom-light: #ffbafa;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9bf7",
  "rgb": {
    "r": 255,
    "g": 155,
    "b": 247
  },
  "hsl": {
    "h": 304.8,
    "s": 100,
    "l": 80.392
  },
  "oklch": {
    "l": 0.82147,
    "c": 0.16407,
    "h": 329.8
  },
  "luminance": 0.51418
}

Semantic roles & 50–950 ramp

primary
#FF9BF7
secondary
#5CE267
accent
#E61200
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FF9BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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