#FB8CFA#FB8CFA

#FB8CFA is a light, vivid purple. Relative luminance 0.462; OKLCH L 79.6% C 0.189 H 327.5°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#FB8CFA
RGBrgb(251, 140, 250)
HSLhsl(301, 93%, 77%)
HSVhsv(301, 44%, 98%)
CMYKcmyk(0%, 44.2%, 0.4%, 1.6%)
CIE-LABlab(73.66, 57.24, -37.09)
CIE-LCHlch(73.66, 68.21, 327.06°)
OKLaboklab(79.63% 0.1592 -0.1014)
OKLCHoklch(79.63% 0.189 327.5)
XYZxyz(66.4159, 46.1709, 95.8375)
Luminance0.4617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8CFA #8CFB8D
analogous
#C58CFB #FB8CFA #FB8CC3
triadic
#FB8CFA #FAFB8C #8CFAFB
tetradic
#FB8CFA #FBC58C #8CFB8D #8CC3FB
square
#FB8CFA #FBC58C #8CFB8D #8CC3FB
split-complementary
#FB8CFA #C3FB8C #8CFBC5
monochromatic
#F716F5 #F951F7 #FB8CFA #FDC7FD #FEE1FE

Accessibility & contrast

On white

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

On black

10.23
#FB8CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8CFA
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8CFA#FFFFFF#000000##000000
##FB8CFA1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFE
Deuteranopia (green-blind)
#A2BAF7
Tritanopia (blue-blind)
#FF97B7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #fb8cfa;
/* rgb */ color: rgb(251, 140, 250);
/* oklch */ color: oklch(79.6% 0.189 327.5);
Tailwind
colors: {
  custom: {
    50: '#ffb1fc',
    500: '#fb8cfa',
    950: '#000000',
  },
}
SCSS
$custom: #fb8cfa;
$custom-light: #ffb1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8cfa",
  "rgb": {
    "r": 251,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 300.541,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79633,
    "c": 0.18876,
    "h": 327.5
  },
  "luminance": 0.46168
}

Semantic roles & 50–950 ramp

primary
#FB8CFA
secondary
#D5F6D5
accent
#E60200
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB8CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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