#FB8AEE#FB8AEE

#FB8AEE is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.8% C 0.182 H 331.5°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#FB8AEE
RGBrgb(251, 138, 238)
HSLhsl(307, 93%, 76%)
HSVhsv(307, 45%, 98%)
CMYKcmyk(0%, 45%, 5.2%, 1.6%)
CIE-LABlab(72.80, 56.17, -31.87)
CIE-LCHlch(72.80, 64.59, 330.43°)
OKLaboklab(78.84% 0.1596 -0.0866)
OKLCHoklch(78.84% 0.182 331.5)
XYZxyz(64.3042, 44.8629, 86.1447)
Luminance0.4486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8AEE #8AFB97
analogous
#D08AFB #FB8AEE #FB8AB6
triadic
#FB8AEE #EEFB8A #8AEEFB
tetradic
#FB8AEE #FBD08A #8AFB97 #8AB6FB
square
#FB8AEE #FBD08A #8AFB97 #8AB6FB
split-complementary
#FB8AEE #B6FB8A #8AFBD0
monochromatic
#F714DD #F94FE5 #FB8AEE #FDC5F7 #FEE1FB

Accessibility & contrast

On white

2.11
#FB8AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#FB8AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8AEE
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8AEE#FFFFFF#000000##000000
##FB8AEE1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F1
Deuteranopia (green-blind)
#A5B8EB
Tritanopia (blue-blind)
#FF92B1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fb8aee;
/* rgb */ color: rgb(251, 138, 238);
/* oklch */ color: oklch(78.8% 0.182 331.5);
Tailwind
colors: {
  custom: {
    50: '#ffaff3',
    500: '#fb8aee',
    950: '#000000',
  },
}
SCSS
$custom: #fb8aee;
$custom-light: #ffaff3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8aee",
  "rgb": {
    "r": 251,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 306.903,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7884,
    "c": 0.1816,
    "h": 331.5
  },
  "luminance": 0.44859
}

Semantic roles & 50–950 ramp

primary
#FB8AEE
secondary
#D5F6D9
accent
#E61A00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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