#FB7CF8#FB7CF8

#FB7CF8 is a light, highly saturated purple. Relative luminance 0.417; OKLCH L 77.4% C 0.212 H 328.3°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#FB7CF8
RGBrgb(251, 124, 248)
HSLhsl(301, 94%, 74%)
HSVhsv(301, 51%, 98%)
CMYKcmyk(0%, 50.6%, 1.2%, 1.6%)
CIE-LABlab(70.67, 64.53, -40.65)
CIE-LCHlch(70.67, 76.27, 327.79°)
OKLaboklab(77.39% 0.1804 -0.1115)
OKLCHoklch(77.39% 0.212 328.3)
XYZxyz(63.9337, 41.7056, 93.4712)
Luminance0.4170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CF8 #7CFB7F
analogous
#BE7CFB #FB7CF8 #FB7CB8
triadic
#FB7CF8 #F8FB7C #7CF8FB
tetradic
#FB7CF8 #FBBE7C #7CFB7F #7CB8FB
square
#FB7CF8 #FBBE7C #7CFB7F #7CB8FB
split-complementary
#FB7CF8 #B8FB7C #7CFBBE
monochromatic
#F507F0 #F941F5 #FB7CF8 #FDB7FB #FEE1FD

Accessibility & contrast

On white

2.25
#FB7CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#FB7CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CF8
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CF8#FFFFFF#000000##000000
##FB7CF81.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FC
Deuteranopia (green-blind)
#98B3F4
Tritanopia (blue-blind)
#FF89AF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb7cf8;
/* rgb */ color: rgb(251, 124, 248);
/* oklch */ color: oklch(77.4% 0.212 328.3);
Tailwind
colors: {
  custom: {
    50: '#ffa7fb',
    500: '#fb7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cf8;
$custom-light: #ffa7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cf8",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 301.417,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77391,
    "c": 0.21204,
    "h": 328.3
  },
  "luminance": 0.41702
}

Semantic roles & 50–950 ramp

primary
#FB7CF8
secondary
#D5F6D6
accent
#E60500
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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