#FB9EFE#FB9EFE

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

Color values

HEX#FB9EFE
RGBrgb(251, 158, 254)
HSLhsl(298, 98%, 81%)
HSVhsv(298, 38%, 100%)
CMYKcmyk(1.2%, 37.8%, 0%, 0.4%)
CIE-LABlab(77.35, 48.93, -33.53)
CIE-LCHlch(77.35, 59.32, 325.58°)
OKLaboklab(82.45% 0.1348 -0.0915)
OKLCHoklch(82.45% 0.163 325.8)
XYZxyz(69.8983, 52.1216, 100.1253)
Luminance0.5212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB9EFE #A1FE9E
analogous
#CB9EFE #FB9EFE #FE9ED1
triadic
#FB9EFE #FEFB9E #9EFEFB
tetradic
#FB9EFE #FECB9E #A1FE9E #9ED1FE
square
#FB9EFE #FECB9E #A1FE9E #9ED1FE
split-complementary
#FB9EFE #D1FE9E #9EFECB
monochromatic
#F625FD #F961FD #FB9EFE #FDDBFF #FEE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB9EFE#FFFFFF#000000##000000
##FB9EFE1.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)
#96B8FF
Deuteranopia (green-blind)
#AEC3FB
Tritanopia (blue-blind)
#FFA7C2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #fb9efe;
/* rgb */ color: rgb(251, 158, 254);
/* oklch */ color: oklch(82.5% 0.163 325.8);
Tailwind
colors: {
  custom: {
    50: '#febcff',
    500: '#fb9efe',
    950: '#000000',
  },
}
SCSS
$custom: #fb9efe;
$custom-light: #febcff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb9efe",
  "rgb": {
    "r": 251,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 298.125,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.82452,
    "c": 0.16286,
    "h": 325.8
  },
  "luminance": 0.52119
}

Semantic roles & 50–950 ramp

primary
#FB9EFE
secondary
#63E15F
accent
#E60007
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181218
muted
#868286

Preview Lab

Preview with #FB9EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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