#FB7EEB#FB7EEB

#FB7EEB is a light, vivid purple. Relative luminance 0.414; OKLCH L 77.1% C 0.198 H 332.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#FB7EEB
RGBrgb(251, 126, 235)
HSLhsl(308, 94%, 74%)
HSVhsv(308, 50%, 98%)
CMYKcmyk(0%, 49.8%, 6.4%, 1.6%)
CIE-LABlab(70.48, 61.44, -33.82)
CIE-LCHlch(70.48, 70.13, 331.17°)
OKLaboklab(77.07% 0.1756 -0.092)
OKLCHoklch(77.07% 0.198 332.3)
XYZxyz(62.2397, 41.4331, 83.3003)
Luminance0.4143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EEB #7EFB8E
analogous
#CD7EFB #FB7EEB #FB7EAD
triadic
#FB7EEB #EBFB7E #7EEBFB
tetradic
#FB7EEB #FBCD7E #7EFB8E #7EADFB
square
#FB7EEB #FBCD7E #7EFB8E #7EADFB
split-complementary
#FB7EEB #ADFB7E #7EFBCD
monochromatic
#F708D8 #F943E2 #FB7EEB #FDB9F4 #FEE1FA

Accessibility & contrast

On white

2.26
#FB7EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#FB7EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EEB
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EEB#FFFFFF#000000##000000
##FB7EEB1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EF
Deuteranopia (green-blind)
#9FB3E7
Tritanopia (blue-blind)
#FF87AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7eeb;
/* rgb */ color: rgb(251, 126, 235);
/* oklch */ color: oklch(77.1% 0.198 332.3);
Tailwind
colors: {
  custom: {
    50: '#ffa8f1',
    500: '#fb7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #fb7eeb;
$custom-light: #ffa8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7eeb",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 307.68,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77074,
    "c": 0.19821,
    "h": 332.3
  },
  "luminance": 0.41429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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