#FB8AEA#FB8AEA

#FB8AEA is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.7% C 0.178 H 332.9°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#FB8AEA
RGBrgb(251, 138, 234)
HSLhsl(309, 93%, 76%)
HSVhsv(309, 45%, 98%)
CMYKcmyk(0%, 45%, 6.8%, 1.6%)
CIE-LABlab(72.65, 55.51, -29.92)
CIE-LCHlch(72.65, 63.06, 331.68°)
OKLaboklab(78.68% 0.1588 -0.0811)
OKLCHoklch(78.68% 0.178 332.9)
XYZxyz(63.7231, 44.6305, 83.0841)
Luminance0.4463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8AEA #8AFB9B
analogous
#D48AFB #FB8AEA #FB8AB2
triadic
#FB8AEA #EAFB8A #8AEAFB
tetradic
#FB8AEA #FBD48A #8AFB9B #8AB2FB
square
#FB8AEA #FBD48A #8AFB9B #8AB2FB
split-complementary
#FB8AEA #B2FB8A #8AFBD4
monochromatic
#F714D5 #F94FDF #FB8AEA #FDC5F5 #FEE1FA

Accessibility & contrast

On white

2.12
#FB8AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#FB8AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8AEA
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8AEA#FFFFFF#000000##000000
##FB8AEA1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A8ED
Deuteranopia (green-blind)
#A7B8E7
Tritanopia (blue-blind)
#FF91AF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fb8aea;
/* rgb */ color: rgb(251, 138, 234);
/* oklch */ color: oklch(78.7% 0.178 332.9);
Tailwind
colors: {
  custom: {
    50: '#ffaff1',
    500: '#fb8aea',
    950: '#000000',
  },
}
SCSS
$custom: #fb8aea;
$custom-light: #ffaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8aea",
  "rgb": {
    "r": 251,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 309.027,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78675,
    "c": 0.17827,
    "h": 332.9
  },
  "luminance": 0.44627
}

Semantic roles & 50–950 ramp

primary
#FB8AEA
secondary
#D5F6DA
accent
#E62300
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FB8AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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