#FB8AEF#FB8AEF

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

Color values

HEX#FB8AEF
RGBrgb(251, 138, 239)
HSLhsl(306, 93%, 76%)
HSVhsv(306, 45%, 98%)
CMYKcmyk(0%, 45%, 4.8%, 1.6%)
CIE-LABlab(72.84, 56.34, -32.36)
CIE-LCHlch(72.84, 64.97, 330.13°)
OKLaboklab(78.88% 0.1598 -0.088)
OKLCHoklch(78.88% 0.182 331.2)
XYZxyz(64.4516, 44.9218, 86.9206)
Luminance0.4492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8AEF #8AFB96
analogous
#CF8AFB #FB8AEF #FB8AB7
triadic
#FB8AEF #EFFB8A #8AEFFB
tetradic
#FB8AEF #FBCF8A #8AFB96 #8AB7FB
square
#FB8AEF #FBCF8A #8AFB96 #8AB7FB
split-complementary
#FB8AEF #B7FB8A #8AFBCF
monochromatic
#F714DF #F94FE7 #FB8AEF #FDC5F7 #FEE1FB

Accessibility & contrast

On white

2.10
#FB8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#FB8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8AEF
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8AEF#FFFFFF#000000##000000
##FB8AEF1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#A5B8EC
Tritanopia (blue-blind)
#FF92B2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #fb8aef;
/* rgb */ color: rgb(251, 138, 239);
/* oklch */ color: oklch(78.9% 0.182 331.2);
Tailwind
colors: {
  custom: {
    50: '#ffaff4',
    500: '#fb8aef',
    950: '#000000',
  },
}
SCSS
$custom: #fb8aef;
$custom-light: #ffaff4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8aef",
  "rgb": {
    "r": 251,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 306.372,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78882,
    "c": 0.18244,
    "h": 331.2
  },
  "luminance": 0.44918
}

Semantic roles & 50–950 ramp

primary
#FB8AEF
secondary
#D5F6D8
accent
#E61800
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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