#FB7AEB#FB7AEB

#FB7AEB is a light, highly saturated purple. Relative luminance 0.404; OKLCH L 76.6% C 0.204 H 332.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#FB7AEB
RGBrgb(251, 122, 235)
HSLhsl(307, 94%, 73%)
HSVhsv(307, 51%, 98%)
CMYKcmyk(0%, 51.4%, 6.4%, 1.6%)
CIE-LABlab(69.78, 63.30, -34.91)
CIE-LCHlch(69.78, 72.29, 331.12°)
OKLaboklab(76.55% 0.1809 -0.0951)
OKLCHoklch(76.55% 0.204 332.3)
XYZxyz(61.7384, 40.4305, 83.1332)
Luminance0.4043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AEB #7AFB8A
analogous
#CA7AFB #FB7AEB #FB7AAA
triadic
#FB7AEB #EBFB7A #7AEBFB
tetradic
#FB7AEB #FBCA7A #7AFB8A #7AAAFB
square
#FB7AEB #FBCA7A #7AFB8A #7AAAFB
split-complementary
#FB7AEB #AAFB7A #7AFBCA
monochromatic
#F307D6 #F93FE2 #FB7AEB #FDB5F4 #FEE1FB

Accessibility & contrast

On white

2.31
#FB7AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#FB7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AEB
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AEB#FFFFFF#000000##000000
##FB7AEB1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#9CB1E7
Tritanopia (blue-blind)
#FF83A8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #fb7aeb;
/* rgb */ color: rgb(251, 122, 235);
/* oklch */ color: oklch(76.6% 0.204 332.3);
Tailwind
colors: {
  custom: {
    50: '#ffa5f1',
    500: '#fb7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #fb7aeb;
$custom-light: #ffa5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7aeb",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 307.442,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76553,
    "c": 0.20439,
    "h": 332.3
  },
  "luminance": 0.40426
}

Semantic roles & 50–950 ramp

primary
#FB7AEB
secondary
#D5F6D9
accent
#E61C00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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