#FF9DF7#FF9DF7

#FF9DF7 is a very light, vivid purple. Relative luminance 0.521; OKLCH L 82.5% C 0.161 H 329.9°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#FF9DF7
RGBrgb(255, 157, 247)
HSLhsl(305, 100%, 81%)
HSVhsv(305, 38%, 100%)
CMYKcmyk(0%, 38.4%, 3.1%, 0%)
CIE-LABlab(77.34, 49.40, -29.74)
CIE-LCHlch(77.34, 57.67, 328.95°)
OKLaboklab(82.45% 0.139 -0.0807)
OKLCHoklch(82.45% 0.161 329.9)
XYZxyz(70.0845, 52.0927, 94.3409)
Luminance0.5209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9DF7 #9DFFA5
analogous
#D69DFF #FF9DF7 #FF9DC6
triadic
#FF9DF7 #F7FF9D #9DF7FF
tetradic
#FF9DF7 #FFD69D #9DFFA5 #9DC6FF
square
#FF9DF7 #FFD69D #9DFFA5 #9DC6FF
split-complementary
#FF9DF7 #C6FF9D #9DFFD6
monochromatic
#FF23ED #FF60F2 #FF9DF7 #FFDAFC #FFE0FD

Accessibility & contrast

On white

1.84
#FF9DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#FF9DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9DF7
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9DF7#FFFFFF#000000##000000
##FF9DF71.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B7FA
Deuteranopia (green-blind)
#B2C4F4
Tritanopia (blue-blind)
#FFA4BF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ff9df7;
/* rgb */ color: rgb(255, 157, 247);
/* oklch */ color: oklch(82.5% 0.161 329.9);
Tailwind
colors: {
  custom: {
    50: '#ffbcfa',
    500: '#ff9df7',
    950: '#000000',
  },
}
SCSS
$custom: #ff9df7;
$custom-light: #ffbcfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9df7",
  "rgb": {
    "r": 255,
    "g": 157,
    "b": 247
  },
  "hsl": {
    "h": 304.898,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.8245,
    "c": 0.16072,
    "h": 329.9
  },
  "luminance": 0.52089
}

Semantic roles & 50–950 ramp

primary
#FF9DF7
secondary
#5EE369
accent
#E61300
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FF9DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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