#FB7AE7#FB7AE7

#FB7AE7 is a light, highly saturated purple. Relative luminance 0.402; OKLCH L 76.4% C 0.201 H 333.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#FB7AE7
RGBrgb(251, 122, 231)
HSLhsl(309, 94%, 73%)
HSVhsv(309, 51%, 98%)
CMYKcmyk(0%, 51.4%, 8%, 1.6%)
CIE-LABlab(69.61, 62.66, -32.95)
CIE-LCHlch(69.61, 70.80, 332.26°)
OKLaboklab(76.38% 0.1802 -0.0895)
OKLCHoklch(76.38% 0.201 333.6)
XYZxyz(61.1670, 40.2019, 80.1239)
Luminance0.4020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AE7 #7AFB8E
analogous
#CE7AFB #FB7AE7 #FB7AA6
triadic
#FB7AE7 #E7FB7A #7AE7FB
tetradic
#FB7AE7 #FBCE7A #7AFB8E #7AA6FB
square
#FB7AE7 #FBCE7A #7AFB8E #7AA6FB
split-complementary
#FB7AE7 #A6FB7A #7AFBCE
monochromatic
#F307CF #F93FDC #FB7AE7 #FDB5F2 #FEE1FA

Accessibility & contrast

On white

2.32
#FB7AE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#FB7AE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AE7
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AE7#FFFFFF#000000##000000
##FB7AE71.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#789EEB
Deuteranopia (green-blind)
#9EB1E3
Tritanopia (blue-blind)
#FF82A6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #fb7ae7;
/* rgb */ color: rgb(251, 122, 231);
/* oklch */ color: oklch(76.4% 0.201 333.6);
Tailwind
colors: {
  custom: {
    50: '#ffa5ef',
    500: '#fb7ae7',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ae7;
$custom-light: #ffa5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ae7",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 309.302,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76381,
    "c": 0.20122,
    "h": 333.6
  },
  "luminance": 0.40198
}

Semantic roles & 50–950 ramp

primary
#FB7AE7
secondary
#D5F6DA
accent
#E62400
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB7AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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