#FB7AEE#FB7AEE

#FB7AEE is a light, highly saturated purple. Relative luminance 0.406; OKLCH L 76.7% C 0.207 H 331.3°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#FB7AEE
RGBrgb(251, 122, 238)
HSLhsl(306, 94%, 73%)
HSVhsv(306, 51%, 98%)
CMYKcmyk(0%, 51.4%, 5.2%, 1.6%)
CIE-LABlab(69.90, 63.79, -36.37)
CIE-LCHlch(69.90, 73.43, 330.31°)
OKLaboklab(76.69% 0.1814 -0.0992)
OKLCHoklch(76.69% 0.207 331.3)
XYZxyz(62.1754, 40.6053, 85.4351)
Luminance0.4060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AEE #7AFB87
analogous
#C87AFB #FB7AEE #FB7AAD
triadic
#FB7AEE #EEFB7A #7AEEFB
tetradic
#FB7AEE #FBC87A #7AFB87 #7AADFB
square
#FB7AEE #FBC87A #7AFB87 #7AADFB
split-complementary
#FB7AEE #ADFB7A #7AFBC8
monochromatic
#F307DC #F93FE6 #FB7AEE #FDB5F6 #FEE1FB

Accessibility & contrast

On white

2.30
#FB7AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#FB7AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AEE
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AEE#FFFFFF#000000##000000
##FB7AEE1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF2
Deuteranopia (green-blind)
#9BB1EA
Tritanopia (blue-blind)
#FF84A9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fb7aee;
/* rgb */ color: rgb(251, 122, 238);
/* oklch */ color: oklch(76.7% 0.207 331.3);
Tailwind
colors: {
  custom: {
    50: '#ffa5f4',
    500: '#fb7aee',
    950: '#000000',
  },
}
SCSS
$custom: #fb7aee;
$custom-light: #ffa5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7aee",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 306.047,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76685,
    "c": 0.20681,
    "h": 331.3
  },
  "luminance": 0.40601
}

Semantic roles & 50–950 ramp

primary
#FB7AEE
secondary
#D5F6D8
accent
#E61700
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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