#FB8EFE#FB8EFE

#FB8EFE is a light, vivid purple. Relative luminance 0.470; OKLCH L 80.1% C 0.189 H 326.2°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#FB8EFE
RGBrgb(251, 142, 254)
HSLhsl(298, 98%, 78%)
HSVhsv(298, 44%, 100%)
CMYKcmyk(1.2%, 44.1%, 0%, 0.4%)
CIE-LABlab(74.20, 56.96, -38.42)
CIE-LCHlch(74.20, 68.71, 326.00°)
OKLaboklab(80.09% 0.1572 -0.1052)
OKLCHoklch(80.09% 0.189 326.2)
XYZxyz(67.3447, 47.0143, 99.2741)
Luminance0.4701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8EFE #91FE8E
analogous
#C38EFE #FB8EFE #FE8EC9
triadic
#FB8EFE #FEFB8E #8EFEFB
tetradic
#FB8EFE #FEC38E #91FE8E #8EC9FE
square
#FB8EFE #FEC38E #91FE8E #8EC9FE
split-complementary
#FB8EFE #C9FE8E #8EFEC3
monochromatic
#F715FD #F951FD #FB8EFE #FDCBFF #FEE1FF

Accessibility & contrast

On white

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

On black

10.40
#FB8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8EFE
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8EFE#FFFFFF#000000##000000
##FB8EFE1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#A2BBFB
Tritanopia (blue-blind)
#FF9ABA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #fb8efe;
/* rgb */ color: rgb(251, 142, 254);
/* oklch */ color: oklch(80.1% 0.189 326.2);
Tailwind
colors: {
  custom: {
    50: '#ffb2ff',
    500: '#fb8efe',
    950: '#000000',
  },
}
SCSS
$custom: #fb8efe;
$custom-light: #ffb2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8efe",
  "rgb": {
    "r": 251,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 298.393,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.80091,
    "c": 0.18915,
    "h": 326.2
  },
  "luminance": 0.47011
}

Semantic roles & 50–950 ramp

primary
#FB8EFE
secondary
#D5F7D4
accent
#E60006
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #FB8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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