#FB8CEE#FB8CEE

#FB8CEE is a light, vivid purple. Relative luminance 0.454; OKLCH L 79.1% C 0.178 H 331.6°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#FB8CEE
RGBrgb(251, 140, 238)
HSLhsl(307, 93%, 77%)
HSVhsv(307, 44%, 98%)
CMYKcmyk(0%, 44.2%, 5.2%, 1.6%)
CIE-LABlab(73.18, 55.19, -31.28)
CIE-LCHlch(73.18, 63.44, 330.45°)
OKLaboklab(79.12% 0.1568 -0.0849)
OKLCHoklch(79.12% 0.178 331.6)
XYZxyz(64.5938, 45.4421, 86.2412)
Luminance0.4544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8CEE #8CFB99
analogous
#D18CFB #FB8CEE #FB8CB7
triadic
#FB8CEE #EEFB8C #8CEEFB
tetradic
#FB8CEE #FBD18C #8CFB99 #8CB7FB
square
#FB8CEE #FBD18C #8CFB99 #8CB7FB
split-complementary
#FB8CEE #B7FB8C #8CFBD1
monochromatic
#F716DD #F951E5 #FB8CEE #FDC7F7 #FEE1FB

Accessibility & contrast

On white

2.08
#FB8CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#FB8CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8CEE
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8CEE#FFFFFF#000000##000000
##FB8CEE1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF1
Deuteranopia (green-blind)
#A7B9EB
Tritanopia (blue-blind)
#FF94B2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #fb8cee;
/* rgb */ color: rgb(251, 140, 238);
/* oklch */ color: oklch(79.1% 0.178 331.6);
Tailwind
colors: {
  custom: {
    50: '#ffb0f3',
    500: '#fb8cee',
    950: '#000000',
  },
}
SCSS
$custom: #fb8cee;
$custom-light: #ffb0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8cee",
  "rgb": {
    "r": 251,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 307.027,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79124,
    "c": 0.17834,
    "h": 331.6
  },
  "luminance": 0.45438
}

Semantic roles & 50–950 ramp

primary
#FB8CEE
secondary
#D5F6D9
accent
#E61B00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB8CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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