#FB7EFB#FB7EFB

#FB7EFB is a light, highly saturated purple. Relative luminance 0.424; OKLCH L 77.8% C 0.212 H 327.4°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#FB7EFB
RGBrgb(251, 126, 251)
HSLhsl(300, 94%, 74%)
HSVhsv(300, 50%, 98%)
CMYKcmyk(0%, 49.8%, 0%, 1.6%)
CIE-LABlab(71.15, 64.11, -41.55)
CIE-LCHlch(71.15, 76.39, 327.06°)
OKLaboklab(77.79% 0.1782 -0.1141)
OKLCHoklch(77.79% 0.212 327.4)
XYZxyz(64.6560, 42.3996, 96.0264)
Luminance0.4240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EFB #7EFB7E
analogous
#BD7EFB #FB7EFB #FB7EBD
triadic
#FB7EFB #FBFB7E #7EFBFB
tetradic
#FB7EFB #FBBD7E #7EFB7E #7EBDFB
square
#FB7EFB #FBBD7E #7EFB7E #7EBDFB
split-complementary
#FB7EFB #BDFB7E #7EFBBD
monochromatic
#F708F7 #F943F9 #FB7EFB #FDB9FD #FEE1FE

Accessibility & contrast

On white

2.22
#FB7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#FB7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EFB
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EFB#FFFFFF#000000##000000
##FB7EFB1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#98B4F7
Tritanopia (blue-blind)
#FF8CB1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb7efb;
/* rgb */ color: rgb(251, 126, 251);
/* oklch */ color: oklch(77.8% 0.212 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffa8fd',
    500: '#fb7efb',
    950: '#000000',
  },
}
SCSS
$custom: #fb7efb;
$custom-light: #ffa8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7efb",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 300,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77786,
    "c": 0.21157,
    "h": 327.4
  },
  "luminance": 0.42396
}

Semantic roles & 50–950 ramp

primary
#FB7EFB
secondary
#D5F6D5
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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