#FB8AEB#FB8AEB

#FB8AEB is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.7% C 0.179 H 332.6°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#FB8AEB
RGBrgb(251, 138, 235)
HSLhsl(308, 93%, 76%)
HSVhsv(308, 45%, 98%)
CMYKcmyk(0%, 45%, 6.4%, 1.6%)
CIE-LABlab(72.69, 55.67, -30.41)
CIE-LCHlch(72.69, 63.44, 331.36°)
OKLaboklab(78.72% 0.159 -0.0825)
OKLCHoklch(78.72% 0.179 332.6)
XYZxyz(63.8672, 44.6881, 83.8428)
Luminance0.4468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8AEB #8AFB9A
analogous
#D38AFB #FB8AEB #FB8AB3
triadic
#FB8AEB #EBFB8A #8AEBFB
tetradic
#FB8AEB #FBD38A #8AFB9A #8AB3FB
square
#FB8AEB #FBD38A #8AFB9A #8AB3FB
split-complementary
#FB8AEB #B3FB8A #8AFBD3
monochromatic
#F714D7 #F94FE1 #FB8AEB #FDC5F5 #FEE1FA

Accessibility & contrast

On white

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

On black

9.94
#FB8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8AEB
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8AEB#FFFFFF#000000##000000
##FB8AEB1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EE
Deuteranopia (green-blind)
#A6B8E8
Tritanopia (blue-blind)
#FF91B0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fb8aeb;
/* rgb */ color: rgb(251, 138, 235);
/* oklch */ color: oklch(78.7% 0.179 332.6);
Tailwind
colors: {
  custom: {
    50: '#ffaff1',
    500: '#fb8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #fb8aeb;
$custom-light: #ffaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8aeb",
  "rgb": {
    "r": 251,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 308.496,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78716,
    "c": 0.1791,
    "h": 332.6
  },
  "luminance": 0.44684
}

Semantic roles & 50–950 ramp

primary
#FB8AEB
secondary
#D5F6DA
accent
#E62000
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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