#FB8CF8#FB8CF8

#FB8CF8 is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.5% C 0.187 H 328.1°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#FB8CF8
RGBrgb(251, 140, 248)
HSLhsl(302, 93%, 77%)
HSVhsv(302, 44%, 98%)
CMYKcmyk(0%, 44.2%, 1.2%, 1.6%)
CIE-LABlab(73.58, 56.89, -36.13)
CIE-LCHlch(73.58, 67.40, 327.58°)
OKLaboklab(79.55% 0.1588 -0.0987)
OKLCHoklch(79.55% 0.187 328.1)
XYZxyz(66.1040, 46.0461, 94.1946)
Luminance0.4604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8CF8 #8CFB8F
analogous
#C78CFB #FB8CF8 #FB8CC1
triadic
#FB8CF8 #F8FB8C #8CF8FB
tetradic
#FB8CF8 #FBC78C #8CFB8F #8CC1FB
square
#FB8CF8 #FBC78C #8CFB8F #8CC1FB
split-complementary
#FB8CF8 #C1FB8C #8CFBC7
monochromatic
#F716F1 #F951F4 #FB8CF8 #FDC7FC #FEE1FD

Accessibility & contrast

On white

2.06
#FB8CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#FB8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8CF8
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8CF8#FFFFFF#000000##000000
##FB8CF81.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ABFC
Deuteranopia (green-blind)
#A3BAF5
Tritanopia (blue-blind)
#FF96B7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #fb8cf8;
/* rgb */ color: rgb(251, 140, 248);
/* oklch */ color: oklch(79.5% 0.187 328.1);
Tailwind
colors: {
  custom: {
    50: '#ffb1fb',
    500: '#fb8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #fb8cf8;
$custom-light: #ffb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8cf8",
  "rgb": {
    "r": 251,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 301.622,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79547,
    "c": 0.18698,
    "h": 328.1
  },
  "luminance": 0.46043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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