#FB9DF2#FB9DF2

#FB9DF2 is a light, vivid purple. Relative luminance 0.510; OKLCH L 81.8% C 0.154 H 330.3°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#FB9DF2
RGBrgb(251, 157, 242)
HSLhsl(306, 92%, 80%)
HSVhsv(306, 37%, 98%)
CMYKcmyk(0%, 37.5%, 3.6%, 1.6%)
CIE-LABlab(76.70, 47.32, -28.05)
CIE-LCHlch(76.70, 55.01, 329.34°)
OKLaboklab(81.81% 0.1334 -0.076)
OKLCHoklch(81.81% 0.154 330.3)
XYZxyz(67.8667, 51.0372, 90.2635)
Luminance0.5103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB9DF2 #9DFBA6
analogous
#D59DFB #FB9DF2 #FB9DC3
triadic
#FB9DF2 #F2FB9D #9DF2FB
tetradic
#FB9DF2 #FBD59D #9DFBA6 #9DC3FB
square
#FB9DF2 #FBD59D #9DFBA6 #9DC3FB
split-complementary
#FB9DF2 #C3FB9D #9DFBD5
monochromatic
#F627E2 #F962EA #FB9DF2 #FDD8FA #FEE2FB

Accessibility & contrast

On white

1.87
#FB9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#FB9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB9DF2
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB9DF2#FFFFFF#000000##000000
##FB9DF21.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B5F5
Deuteranopia (green-blind)
#B1C2EF
Tritanopia (blue-blind)
#FFA4BD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #fb9df2;
/* rgb */ color: rgb(251, 157, 242);
/* oklch */ color: oklch(81.8% 0.154 330.3);
Tailwind
colors: {
  custom: {
    50: '#febbf6',
    500: '#fb9df2',
    950: '#000000',
  },
}
SCSS
$custom: #fb9df2;
$custom-light: #febbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb9df2",
  "rgb": {
    "r": 251,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 305.745,
    "s": 92.157,
    "l": 80
  },
  "oklch": {
    "l": 0.81814,
    "c": 0.15352,
    "h": 330.3
  },
  "luminance": 0.51034
}

Semantic roles & 50–950 ramp

primary
#FB9DF2
secondary
#60DD6C
accent
#E61600
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#181217
muted
#868285

Preview Lab

Preview with #FB9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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