#FB8CF7#FB8CF7

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

Color values

HEX#FB8CF7
RGBrgb(251, 140, 247)
HSLhsl(302, 93%, 77%)
HSVhsv(302, 44%, 98%)
CMYKcmyk(0%, 44.2%, 1.6%, 1.6%)
CIE-LABlab(73.54, 56.72, -35.65)
CIE-LCHlch(73.54, 66.99, 327.85°)
OKLaboklab(79.5% 0.1586 -0.0973)
OKLCHoklch(79.5% 0.186 328.5)
XYZxyz(65.9492, 45.9843, 93.3797)
Luminance0.4598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8CF7 #8CFB90
analogous
#C88CFB #FB8CF7 #FB8CC0
triadic
#FB8CF7 #F7FB8C #8CF7FB
tetradic
#FB8CF7 #FBC88C #8CFB90 #8CC0FB
square
#FB8CF7 #FBC88C #8CFB90 #8CC0FB
split-complementary
#FB8CF7 #C0FB8C #8CFBC8
monochromatic
#F716EF #F951F3 #FB8CF7 #FDC7FB #FEE1FD

Accessibility & contrast

On white

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

On black

10.20
#FB8CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8CF7
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8CF7#FFFFFF#000000##000000
##FB8CF71.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ABFB
Deuteranopia (green-blind)
#A3BAF4
Tritanopia (blue-blind)
#FF96B6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #fb8cf7;
/* rgb */ color: rgb(251, 140, 247);
/* oklch */ color: oklch(79.5% 0.186 328.5);
Tailwind
colors: {
  custom: {
    50: '#ffb1fa',
    500: '#fb8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #fb8cf7;
$custom-light: #ffb1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8cf7",
  "rgb": {
    "r": 251,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 302.162,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79504,
    "c": 0.1861,
    "h": 328.5
  },
  "luminance": 0.45981
}

Semantic roles & 50–950 ramp

primary
#FB8CF7
secondary
#D5F6D6
accent
#E60800
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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