#FB7AEC#FB7AEC

#FB7AEC is a light, highly saturated purple. Relative luminance 0.405; OKLCH L 76.6% C 0.205 H 332.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#FB7AEC
RGBrgb(251, 122, 236)
HSLhsl(307, 94%, 73%)
HSVhsv(307, 51%, 98%)
CMYKcmyk(0%, 51.4%, 6%, 1.6%)
CIE-LABlab(69.82, 63.46, -35.40)
CIE-LCHlch(69.82, 72.67, 330.85°)
OKLaboklab(76.6% 0.1811 -0.0965)
OKLCHoklch(76.6% 0.205 332)
XYZxyz(61.8832, 40.4884, 83.8962)
Luminance0.4048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AEC #7AFB89
analogous
#CA7AFB #FB7AEC #FB7AAB
triadic
#FB7AEC #ECFB7A #7AECFB
tetradic
#FB7AEC #FBCA7A #7AFB89 #7AABFB
square
#FB7AEC #FBCA7A #7AFB89 #7AABFB
split-complementary
#FB7AEC #ABFB7A #7AFBCA
monochromatic
#F307D8 #F93FE4 #FB7AEC #FDB5F4 #FEE1FB

Accessibility & contrast

On white

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

On black

9.10
#FB7AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AEC
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AEC#FFFFFF#000000##000000
##FB7AEC1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FF0
Deuteranopia (green-blind)
#9CB1E8
Tritanopia (blue-blind)
#FF84A8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fb7aec;
/* rgb */ color: rgb(251, 122, 236);
/* oklch */ color: oklch(76.6% 0.205 332.0);
Tailwind
colors: {
  custom: {
    50: '#ffa5f2',
    500: '#fb7aec',
    950: '#000000',
  },
}
SCSS
$custom: #fb7aec;
$custom-light: #ffa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7aec",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 306.977,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76597,
    "c": 0.20519,
    "h": 332
  },
  "luminance": 0.40484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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