#FF9DEF#FF9DEF

#FF9DEF is a very light, vivid purple. Relative luminance 0.516; OKLCH L 82.1% C 0.154 H 333.0°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#FF9DEF
RGBrgb(255, 157, 239)
HSLhsl(310, 100%, 81%)
HSVhsv(310, 38%, 100%)
CMYKcmyk(0%, 38.4%, 6.3%, 0%)
CIE-LABlab(77.05, 48.04, -25.86)
CIE-LCHlch(77.05, 54.56, 331.71°)
OKLaboklab(82.14% 0.1371 -0.0698)
OKLCHoklch(82.14% 0.154 333)
XYZxyz(68.8764, 51.6095, 87.9783)
Luminance0.5161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9DEF #9DFFAD
analogous
#DE9DFF #FF9DEF #FF9DBE
triadic
#FF9DEF #EFFF9D #9DEFFF
tetradic
#FF9DEF #FFDE9D #9DFFAD #9DBEFF
square
#FF9DEF #FFDE9D #9DFFAD #9DBEFF
split-complementary
#FF9DEF #BEFF9D #9DFFDE
monochromatic
#FF23DB #FF60E5 #FF9DEF #FFDAF9 #FFE0FA

Accessibility & contrast

On white

1.85
#FF9DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#FF9DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9DEF
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9DEF#FFFFFF#000000##000000
##FF9DEF1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB6F2
Deuteranopia (green-blind)
#B5C3EC
Tritanopia (blue-blind)
#FFA2BC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ff9def;
/* rgb */ color: rgb(255, 157, 239);
/* oklch */ color: oklch(82.1% 0.154 333.0);
Tailwind
colors: {
  custom: {
    50: '#ffbcf4',
    500: '#ff9def',
    950: '#000000',
  },
}
SCSS
$custom: #ff9def;
$custom-light: #ffbcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9def",
  "rgb": {
    "r": 255,
    "g": 157,
    "b": 239
  },
  "hsl": {
    "h": 309.796,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.82137,
    "c": 0.15378,
    "h": 333
  },
  "luminance": 0.51606
}

Semantic roles & 50–950 ramp

primary
#FF9DEF
secondary
#5EE373
accent
#E62500
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#181217
muted
#868285

Preview Lab

Preview with #FF9DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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