#FB7AEF#FB7AEF

#FB7AEF is a light, highly saturated purple. Relative luminance 0.407; OKLCH L 76.7% C 0.208 H 331.0°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#FB7AEF
RGBrgb(251, 122, 239)
HSLhsl(306, 94%, 73%)
HSVhsv(306, 51%, 98%)
CMYKcmyk(0%, 51.4%, 4.8%, 1.6%)
CIE-LABlab(69.94, 63.95, -36.85)
CIE-LCHlch(69.94, 73.81, 330.05°)
OKLaboklab(76.73% 0.1816 -0.1006)
OKLCHoklch(76.73% 0.208 331)
XYZxyz(62.3228, 40.6642, 86.2110)
Luminance0.4066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7AEF #7AFB86
analogous
#C67AFB #FB7AEF #FB7AAF
triadic
#FB7AEF #EFFB7A #7AEFFB
tetradic
#FB7AEF #FBC67A #7AFB86 #7AAFFB
square
#FB7AEF #FBC67A #7AFB86 #7AAFFB
split-complementary
#FB7AEF #AFFB7A #7AFBC6
monochromatic
#F307DD #F93FE8 #FB7AEF #FDB5F6 #FEE1FB

Accessibility & contrast

On white

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

On black

9.13
#FB7AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7AEF
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7AEF#FFFFFF#000000##000000
##FB7AEF1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F3
Deuteranopia (green-blind)
#9AB1EB
Tritanopia (blue-blind)
#FF85AA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fb7aef;
/* rgb */ color: rgb(251, 122, 239);
/* oklch */ color: oklch(76.7% 0.208 331.0);
Tailwind
colors: {
  custom: {
    50: '#ffa5f4',
    500: '#fb7aef',
    950: '#000000',
  },
}
SCSS
$custom: #fb7aef;
$custom-light: #ffa5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7aef",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 305.581,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76729,
    "c": 0.20761,
    "h": 331
  },
  "luminance": 0.4066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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