#FF9DF2#FF9DF2

#FF9DF2 is a very light, vivid purple. Relative luminance 0.518; OKLCH L 82.3% C 0.156 H 331.8°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#FF9DF2
RGBrgb(255, 157, 242)
HSLhsl(308, 100%, 81%)
HSVhsv(308, 38%, 100%)
CMYKcmyk(0%, 38.4%, 5.1%, 0%)
CIE-LABlab(77.15, 48.55, -27.32)
CIE-LCHlch(77.15, 55.71, 330.63°)
OKLaboklab(82.25% 0.1378 -0.0739)
OKLCHoklch(82.25% 0.156 331.8)
XYZxyz(69.3233, 51.7882, 90.3318)
Luminance0.5179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9DF2 #9DFFAA
analogous
#DB9DFF #FF9DF2 #FF9DC1
triadic
#FF9DF2 #F2FF9D #9DF2FF
tetradic
#FF9DF2 #FFDB9D #9DFFAA #9DC1FF
square
#FF9DF2 #FFDB9D #9DFFAA #9DC1FF
split-complementary
#FF9DF2 #C1FF9D #9DFFDB
monochromatic
#FF23E2 #FF60EA #FF9DF2 #FFDAFA #FFE0FB

Accessibility & contrast

On white

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

On black

11.36
#FF9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9DF2
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9DF2#FFFFFF#000000##000000
##FF9DF21.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB6F5
Deuteranopia (green-blind)
#B4C4EF
Tritanopia (blue-blind)
#FFA3BD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ff9df2;
/* rgb */ color: rgb(255, 157, 242);
/* oklch */ color: oklch(82.3% 0.156 331.8);
Tailwind
colors: {
  custom: {
    50: '#ffbcf6',
    500: '#ff9df2',
    950: '#000000',
  },
}
SCSS
$custom: #ff9df2;
$custom-light: #ffbcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9df2",
  "rgb": {
    "r": 255,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 307.959,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.82253,
    "c": 0.15635,
    "h": 331.8
  },
  "luminance": 0.51785
}

Semantic roles & 50–950 ramp

primary
#FF9DF2
secondary
#5EE36F
accent
#E61E00
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#181217
muted
#868285

Preview Lab

Preview with #FF9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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