#FB95EC#FB95EC

#FB95EC is a light, vivid purple. Relative luminance 0.481; OKLCH L 80.4% C 0.162 H 332.5°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#FB95EC
RGBrgb(251, 149, 236)
HSLhsl(309, 93%, 78%)
HSVhsv(309, 41%, 98%)
CMYKcmyk(0%, 40.6%, 6%, 1.6%)
CIE-LABlab(74.87, 50.37, -27.61)
CIE-LCHlch(74.87, 57.44, 331.27°)
OKLaboklab(80.36% 0.1435 -0.0747)
OKLCHoklch(80.36% 0.162 332.5)
XYZxyz(65.6709, 48.0637, 85.1588)
Luminance0.4806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB95EC #95FBA4
analogous
#D795FB #FB95EC #FB95B9
triadic
#FB95EC #ECFB95 #95ECFB
tetradic
#FB95EC #FBD795 #95FBA4 #95B9FB
square
#FB95EC #FBD795 #95FBA4 #95B9FB
split-complementary
#FB95EC #B9FB95 #95FBD7
monochromatic
#F71FD7 #F95AE1 #FB95EC #FDD0F7 #FEE2FA

Accessibility & contrast

On white

1.98
#FB95EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#FB95EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB95EC
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB95EC#FFFFFF#000000##000000
##FB95EC1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEF
Deuteranopia (green-blind)
#AEBEE9
Tritanopia (blue-blind)
#FF9BB6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #fb95ec;
/* rgb */ color: rgb(251, 149, 236);
/* oklch */ color: oklch(80.4% 0.162 332.5);
Tailwind
colors: {
  custom: {
    50: '#feb6f2',
    500: '#fb95ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb95ec;
$custom-light: #feb6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb95ec",
  "rgb": {
    "r": 251,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 308.824,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.8036,
    "c": 0.16179,
    "h": 332.5
  },
  "luminance": 0.4806
}

Semantic roles & 50–950 ramp

primary
#FB95EC
secondary
#D5F6DA
accent
#E62200
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB95EC

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

Preview Lab → · Contrast checker → · Palette generator →

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