#FB8CFB#FB8CFB

#FB8CFB is a light, vivid purple. Relative luminance 0.462; OKLCH L 79.7% C 0.190 H 327.2°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#FB8CFB
RGBrgb(251, 140, 251)
HSLhsl(300, 93%, 77%)
HSVhsv(300, 44%, 98%)
CMYKcmyk(0%, 44.2%, 0%, 1.6%)
CIE-LABlab(73.70, 57.42, -37.57)
CIE-LCHlch(73.70, 68.62, 326.80°)
OKLaboklab(79.68% 0.1594 -0.1028)
OKLCHoklch(79.68% 0.19 327.2)
XYZxyz(66.5731, 46.2338, 96.6655)
Luminance0.4623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8CFB #8CFB8C
analogous
#C48CFB #FB8CFB #FB8CC4
triadic
#FB8CFB #FBFB8C #8CFBFB
tetradic
#FB8CFB #FBC48C #8CFB8C #8CC4FB
square
#FB8CFB #FBC48C #8CFB8C #8CC4FB
split-complementary
#FB8CFB #C4FB8C #8CFBC4
monochromatic
#F716F7 #F951F9 #FB8CFB #FDC7FD #FEE1FE

Accessibility & contrast

On white

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

On black

10.25
#FB8CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8CFB
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8CFB#FFFFFF#000000##000000
##FB8CFB1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#A2BAF8
Tritanopia (blue-blind)
#FF97B8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #fb8cfb;
/* rgb */ color: rgb(251, 140, 251);
/* oklch */ color: oklch(79.7% 0.190 327.2);
Tailwind
colors: {
  custom: {
    50: '#ffb1fd',
    500: '#fb8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #fb8cfb;
$custom-light: #ffb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8cfb",
  "rgb": {
    "r": 251,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 300,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79677,
    "c": 0.18965,
    "h": 327.2
  },
  "luminance": 0.4623
}

Semantic roles & 50–950 ramp

primary
#FB8CFB
secondary
#D5F6D5
accent
#E60000
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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