#FB7EFA#FB7EFA

#FB7EFA is a light, highly saturated purple. Relative luminance 0.423; OKLCH L 77.7% C 0.211 H 327.7°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#FB7EFA
RGBrgb(251, 126, 250)
HSLhsl(300, 94%, 74%)
HSVhsv(300, 50%, 98%)
CMYKcmyk(0%, 49.8%, 0.4%, 1.6%)
CIE-LABlab(71.10, 63.94, -41.07)
CIE-LCHlch(71.10, 75.99, 327.29°)
OKLaboklab(77.74% 0.178 -0.1127)
OKLCHoklch(77.74% 0.211 327.7)
XYZxyz(64.4988, 42.3367, 95.1984)
Luminance0.4233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EFA #7EFB7F
analogous
#BE7EFB #FB7EFA #FB7EBC
triadic
#FB7EFA #FAFB7E #7EFAFB
tetradic
#FB7EFA #FBBE7E #7EFB7F #7EBCFB
square
#FB7EFA #FBBE7E #7EFB7F #7EBCFB
split-complementary
#FB7EFA #BCFB7E #7EFBBE
monochromatic
#F708F5 #F943F8 #FB7EFA #FDB9FC #FEE1FE

Accessibility & contrast

On white

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

On black

9.47
#FB7EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EFA
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EFA#FFFFFF#000000##000000
##FB7EFA1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#98B4F6
Tritanopia (blue-blind)
#FF8BB1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb7efa;
/* rgb */ color: rgb(251, 126, 250);
/* oklch */ color: oklch(77.7% 0.211 327.7);
Tailwind
colors: {
  custom: {
    50: '#ffa8fc',
    500: '#fb7efa',
    950: '#000000',
  },
}
SCSS
$custom: #fb7efa;
$custom-light: #ffa8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7efa",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 300.48,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7774,
    "c": 0.21071,
    "h": 327.7
  },
  "luminance": 0.42333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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