#FB7EF4#FB7EF4

#FB7EF4 is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.5% C 0.206 H 329.5°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#FB7EF4
RGBrgb(251, 126, 244)
HSLhsl(303, 94%, 74%)
HSVhsv(303, 50%, 98%)
CMYKcmyk(0%, 49.8%, 2.8%, 1.6%)
CIE-LABlab(70.85, 62.92, -38.18)
CIE-LCHlch(70.85, 73.60, 328.75°)
OKLaboklab(77.47% 0.1771 -0.1044)
OKLCHoklch(77.47% 0.206 329.5)
XYZxyz(63.5729, 41.9664, 90.3222)
Luminance0.4196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EF4 #7EFB85
analogous
#C47EFB #FB7EF4 #FB7EB6
triadic
#FB7EF4 #F4FB7E #7EF4FB
tetradic
#FB7EF4 #FBC47E #7EFB85 #7EB6FB
square
#FB7EF4 #FBC47E #7EFB85 #7EB6FB
split-complementary
#FB7EF4 #B6FB7E #7EFBC4
monochromatic
#F708EA #F943EF #FB7EF4 #FDB9F9 #FEE1FC

Accessibility & contrast

On white

2.24
#FB7EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#FB7EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EF4
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EF4#FFFFFF#000000##000000
##FB7EF41.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A3F8
Deuteranopia (green-blind)
#9BB3F0
Tritanopia (blue-blind)
#FF89AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb7ef4;
/* rgb */ color: rgb(251, 126, 244);
/* oklch */ color: oklch(77.5% 0.206 329.5);
Tailwind
colors: {
  custom: {
    50: '#ffa8f8',
    500: '#fb7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ef4;
$custom-light: #ffa8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ef4",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 303.36,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77468,
    "c": 0.20562,
    "h": 329.5
  },
  "luminance": 0.41963
}

Semantic roles & 50–950 ramp

primary
#FB7EF4
secondary
#D5F6D7
accent
#E60D00
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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