#FB8AFF#FB8AFF

#FB8AFF is a light, vivid purple. Relative luminance 0.459; OKLCH L 79.6% C 0.196 H 326.0°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#FB8AFF
RGBrgb(251, 138, 255)
HSLhsl(298, 100%, 77%)
HSVhsv(298, 46%, 100%)
CMYKcmyk(1.6%, 45.9%, 0%, 0%)
CIE-LABlab(73.49, 59.09, -40.07)
CIE-LCHlch(73.49, 71.40, 325.86°)
OKLaboklab(79.57% 0.1628 -0.1099)
OKLCHoklch(79.57% 0.196 326)
XYZxyz(66.9207, 45.9095, 99.9248)
Luminance0.4591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8AFF #8EFF8A
analogous
#C18AFF #FB8AFF #FF8AC8
triadic
#FB8AFF #FFFB8A #8AFFFB
tetradic
#FB8AFF #FFC18A #8EFF8A #8AC8FF
square
#FB8AFF #FFC18A #8EFF8A #8AC8FF
split-complementary
#FB8AFF #C8FF8A #8AFFC1
monochromatic
#F710FF #F94DFF #FB8AFF #FDC7FF #FEE0FF

Accessibility & contrast

On white

2.06
#FB8AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#FB8AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8AFF
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8AFF#FFFFFF#000000##000000
##FB8AFF1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#9FBAFB
Tritanopia (blue-blind)
#FF97B9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #fb8aff;
/* rgb */ color: rgb(251, 138, 255);
/* oklch */ color: oklch(79.6% 0.196 326.0);
Tailwind
colors: {
  custom: {
    50: '#ffafff',
    500: '#fb8aff',
    950: '#000000',
  },
}
SCSS
$custom: #fb8aff;
$custom-light: #ffafff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8aff",
  "rgb": {
    "r": 251,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 297.949,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.79575,
    "c": 0.19644,
    "h": 326
  },
  "luminance": 0.45906
}

Semantic roles & 50–950 ramp

primary
#FB8AFF
secondary
#D5F7D4
accent
#E60008
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086

Preview Lab

Preview with #FB8AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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