#FB8EFC#FB8EFC

#FB8EFC is a light, vivid purple. Relative luminance 0.469; OKLCH L 80.0% C 0.187 H 326.8°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#FB8EFC
RGBrgb(251, 142, 252)
HSLhsl(299, 95%, 77%)
HSVhsv(299, 44%, 99%)
CMYKcmyk(0.4%, 43.7%, 0%, 1.2%)
CIE-LABlab(74.12, 56.61, -37.46)
CIE-LCHlch(74.12, 67.88, 326.51°)
OKLaboklab(80% 0.1568 -0.1025)
OKLCHoklch(80% 0.187 326.8)
XYZxyz(67.0261, 46.8868, 97.5961)
Luminance0.4688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8EFC #8FFC8E
analogous
#C48EFC #FB8EFC #FC8EC6
triadic
#FB8EFC #FCFB8E #8EFCFB
tetradic
#FB8EFC #FCC48E #8FFC8E #8EC6FC
square
#FB8EFC #FCC48E #8FFC8E #8EC6FC
split-complementary
#FB8EFC #C6FC8E #8EFCC4
monochromatic
#F717F9 #F952FA #FB8EFC #FDCAFE #FEE1FE

Accessibility & contrast

On white

2.02
#FB8EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#FB8EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8EFC
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8EFC#FFFFFF#000000##000000
##FB8EFC1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#A3BBF9
Tritanopia (blue-blind)
#FF99B9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #fb8efc;
/* rgb */ color: rgb(251, 142, 252);
/* oklch */ color: oklch(80.0% 0.187 326.8);
Tailwind
colors: {
  custom: {
    50: '#ffb2fd',
    500: '#fb8efc',
    950: '#000000',
  },
}
SCSS
$custom: #fb8efc;
$custom-light: #ffb2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8efc",
  "rgb": {
    "r": 251,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 299.455,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.80003,
    "c": 0.18734,
    "h": 326.8
  },
  "luminance": 0.46884
}

Semantic roles & 50–950 ramp

primary
#FB8EFC
secondary
#D5F6D5
accent
#E60002
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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