#FB9EF7#FB9EF7

#FB9EF7 is a very light, vivid purple. Relative luminance 0.517; OKLCH L 82.2% C 0.156 H 328.4°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#FB9EF7
RGBrgb(251, 158, 247)
HSLhsl(303, 92%, 80%)
HSVhsv(303, 37%, 98%)
CMYKcmyk(0%, 37.1%, 1.6%, 1.6%)
CIE-LABlab(77.09, 47.68, -30.16)
CIE-LCHlch(77.09, 56.42, 327.69°)
OKLaboklab(82.17% 0.1332 -0.0819)
OKLCHoklch(82.17% 0.156 328.4)
XYZxyz(68.7978, 51.6814, 94.3293)
Luminance0.5168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB9EF7 #9EFBA2
analogous
#D19EFB #FB9EF7 #FB9EC8
triadic
#FB9EF7 #F7FB9E #9EF7FB
tetradic
#FB9EF7 #FBD19E #9EFBA2 #9EC8FB
square
#FB9EF7 #FBD19E #9EFBA2 #9EC8FB
split-complementary
#FB9EF7 #C8FB9E #9EFBD1
monochromatic
#F628ED #F963F2 #FB9EF7 #FDD9FC #FEE2FD

Accessibility & contrast

On white

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

On black

11.34
#FB9EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB9EF7
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB9EF7#FFFFFF#000000##000000
##FB9EF71.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B7FA
Deuteranopia (green-blind)
#B0C3F4
Tritanopia (blue-blind)
#FFA6BF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #fb9ef7;
/* rgb */ color: rgb(251, 158, 247);
/* oklch */ color: oklch(82.2% 0.156 328.4);
Tailwind
colors: {
  custom: {
    50: '#febcfa',
    500: '#fb9ef7',
    950: '#000000',
  },
}
SCSS
$custom: #fb9ef7;
$custom-light: #febcfa;
$custom-dark: #000000;
JSON
{
  "hex": "#fb9ef7",
  "rgb": {
    "r": 251,
    "g": 158,
    "b": 247
  },
  "hsl": {
    "h": 302.581,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.82167,
    "c": 0.15635,
    "h": 328.4
  },
  "luminance": 0.51678
}

Semantic roles & 50–950 ramp

primary
#FB9EF7
secondary
#60DD66
accent
#E60A00
background
#FFFDFF
surface
#FFF8FF
border
#D7D1D7
text
#181217
muted
#868285

Preview Lab

Preview with #FB9EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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