#FB7FEE#FB7FEE

#FB7FEE is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.3% C 0.199 H 331.4°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#FB7FEE
RGBrgb(251, 127, 238)
HSLhsl(306, 94%, 74%)
HSVhsv(306, 49%, 98%)
CMYKcmyk(0%, 49.4%, 5.2%, 1.6%)
CIE-LABlab(70.78, 61.46, -35.00)
CIE-LCHlch(70.78, 70.73, 330.34°)
OKLaboklab(77.34% 0.1748 -0.0954)
OKLCHoklch(77.34% 0.199 331.4)
XYZxyz(62.8052, 41.8649, 85.6450)
Luminance0.4186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FEE #7FFB8C
analogous
#CA7FFB #FB7FEE #FB7FB0
triadic
#FB7FEE #EEFB7F #7FEEFB
tetradic
#FB7FEE #FBCA7F #7FFB8C #7FB0FB
square
#FB7FEE #FBCA7F #7FFB8C #7FB0FB
split-complementary
#FB7FEE #B0FB7F #7FFBCA
monochromatic
#F708DE #F944E6 #FB7FEE #FDBAF6 #FEE1FB

Accessibility & contrast

On white

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

On black

9.37
#FB7FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FEE
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FEE#FFFFFF#000000##000000
##FB7FEE1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F2
Deuteranopia (green-blind)
#9EB3EA
Tritanopia (blue-blind)
#FF88AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb7fee;
/* rgb */ color: rgb(251, 127, 238);
/* oklch */ color: oklch(77.3% 0.199 331.4);
Tailwind
colors: {
  custom: {
    50: '#ffa8f4',
    500: '#fb7fee',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fee;
$custom-light: #ffa8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fee",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 306.29,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77336,
    "c": 0.1991,
    "h": 331.4
  },
  "luminance": 0.41861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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