#FB7AEA#FB7AEA

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

Color values

HEX#FB7AEA
RGBrgb(251, 122, 234)
HSLhsl(308, 94%, 73%)
HSVhsv(308, 51%, 98%)
CMYKcmyk(0%, 51.4%, 6.8%, 1.6%)
CIE-LABlab(69.73, 63.14, -34.42)
CIE-LCHlch(69.73, 71.91, 331.40°)
OKLaboklab(76.51% 0.1808 -0.0937)
OKLCHoklch(76.51% 0.204 332.6)
XYZxyz(61.5943, 40.3729, 82.3745)
Luminance0.4037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AEA #7AFB8B
analogous
#CB7AFB #FB7AEA #FB7AA9
triadic
#FB7AEA #EAFB7A #7AEAFB
tetradic
#FB7AEA #FBCB7A #7AFB8B #7AA9FB
square
#FB7AEA #FBCB7A #7AFB8B #7AA9FB
split-complementary
#FB7AEA #A9FB7A #7AFBCB
monochromatic
#F307D4 #F93FE1 #FB7AEA #FDB5F3 #FEE1FA

Accessibility & contrast

On white

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

On black

9.07
#FB7AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AEA
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AEA#FFFFFF#000000##000000
##FB7AEA1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEE
Deuteranopia (green-blind)
#9CB1E6
Tritanopia (blue-blind)
#FF83A8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #fb7aea;
/* rgb */ color: rgb(251, 122, 234);
/* oklch */ color: oklch(76.5% 0.204 332.6);
Tailwind
colors: {
  custom: {
    50: '#ffa5f1',
    500: '#fb7aea',
    950: '#000000',
  },
}
SCSS
$custom: #fb7aea;
$custom-light: #ffa5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7aea",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 307.907,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7651,
    "c": 0.20359,
    "h": 332.6
  },
  "luminance": 0.40369
}

Semantic roles & 50–950 ramp

primary
#FB7AEA
secondary
#D5F6D9
accent
#E61E00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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