#FB8BF5#FB8BF5

#FB8BF5 is a light, vivid purple. Relative luminance 0.456; OKLCH L 79.3% C 0.186 H 329.1°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#FB8BF5
RGBrgb(251, 139, 245)
HSLhsl(303, 93%, 76%)
HSVhsv(303, 45%, 98%)
CMYKcmyk(0%, 44.6%, 2.4%, 1.6%)
CIE-LABlab(73.27, 56.87, -34.97)
CIE-LCHlch(73.27, 66.76, 328.41°)
OKLaboklab(79.28% 0.1596 -0.0954)
OKLCHoklch(79.28% 0.186 329.1)
XYZxyz(65.4968, 45.5706, 91.7146)
Luminance0.4557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8BF5 #8BFB91
analogous
#C98BFB #FB8BF5 #FB8BBD
triadic
#FB8BF5 #F5FB8B #8BF5FB
tetradic
#FB8BF5 #FBC98B #8BFB91 #8BBDFB
square
#FB8BF5 #FBC98B #8BFB91 #8BBDFB
split-complementary
#FB8BF5 #BDFB8B #8BFBC9
monochromatic
#F715EB #F950F0 #FB8BF5 #FDC6FA #FEE1FC

Accessibility & contrast

On white

2.08
#FB8BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#FB8BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8BF5
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8BF5#FFFFFF#000000##000000
##FB8BF51.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AAF9
Deuteranopia (green-blind)
#A3B9F2
Tritanopia (blue-blind)
#FF95B5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #fb8bf5;
/* rgb */ color: rgb(251, 139, 245);
/* oklch */ color: oklch(79.3% 0.186 329.1);
Tailwind
colors: {
  custom: {
    50: '#ffb0f8',
    500: '#fb8bf5',
    950: '#000000',
  },
}
SCSS
$custom: #fb8bf5;
$custom-light: #ffb0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8bf5",
  "rgb": {
    "r": 251,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 303.214,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79277,
    "c": 0.18597,
    "h": 329.1
  },
  "luminance": 0.45567
}

Semantic roles & 50–950 ramp

primary
#FB8BF5
secondary
#D5F6D7
accent
#E60C00
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB8BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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