#FB8DF8#FB8DF8

#FB8DF8 is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.7% C 0.185 H 328.1°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#FB8DF8
RGBrgb(251, 141, 248)
HSLhsl(302, 93%, 77%)
HSVhsv(302, 44%, 98%)
CMYKcmyk(0%, 43.8%, 1.2%, 1.6%)
CIE-LABlab(73.77, 56.40, -35.83)
CIE-LCHlch(73.77, 66.82, 327.57°)
OKLaboklab(79.69% 0.1574 -0.0979)
OKLCHoklch(79.69% 0.185 328.1)
XYZxyz(66.2508, 46.3397, 94.2436)
Luminance0.4634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8DF8 #8DFB90
analogous
#C78DFB #FB8DF8 #FB8DC1
triadic
#FB8DF8 #F8FB8D #8DF8FB
tetradic
#FB8DF8 #FBC78D #8DFB90 #8DC1FB
square
#FB8DF8 #FBC78D #8DFB90 #8DC1FB
split-complementary
#FB8DF8 #C1FB8D #8DFBC7
monochromatic
#F717F1 #F952F4 #FB8DF8 #FDC8FC #FEE1FD

Accessibility & contrast

On white

2.05
#FB8DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#FB8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8DF8
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8DF8#FFFFFF#000000##000000
##FB8DF81.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ACFC
Deuteranopia (green-blind)
#A4BAF5
Tritanopia (blue-blind)
#FF97B7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #fb8df8;
/* rgb */ color: rgb(251, 141, 248);
/* oklch */ color: oklch(79.7% 0.185 328.1);
Tailwind
colors: {
  custom: {
    50: '#ffb1fb',
    500: '#fb8df8',
    950: '#000000',
  },
}
SCSS
$custom: #fb8df8;
$custom-light: #ffb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8df8",
  "rgb": {
    "r": 251,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 301.636,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79688,
    "c": 0.18537,
    "h": 328.1
  },
  "luminance": 0.46336
}

Semantic roles & 50–950 ramp

primary
#FB8DF8
secondary
#D5F6D6
accent
#E60600
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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