#FB7CF9#FB7CF9

#FB7CF9 is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.4% C 0.213 H 328.0°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#FB7CF9
RGBrgb(251, 124, 249)
HSLhsl(301, 94%, 74%)
HSVhsv(301, 51%, 98%)
CMYKcmyk(0%, 50.6%, 0.8%, 1.6%)
CIE-LABlab(70.71, 64.70, -41.13)
CIE-LCHlch(70.71, 76.66, 327.55°)
OKLaboklab(77.44% 0.1805 -0.1129)
OKLCHoklch(77.44% 0.213 328)
XYZxyz(64.0892, 41.7678, 94.2904)
Luminance0.4176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CF9 #7CFB7E
analogous
#BD7CFB #FB7CF9 #FB7CB9
triadic
#FB7CF9 #F9FB7C #7CF9FB
tetradic
#FB7CF9 #FBBD7C #7CFB7E #7CB9FB
square
#FB7CF9 #FBBD7C #7CFB7E #7CB9FB
split-complementary
#FB7CF9 #B9FB7C #7CFBBD
monochromatic
#F507F1 #F941F6 #FB7CF9 #FDB7FC #FEE1FE

Accessibility & contrast

On white

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

On black

9.35
#FB7CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CF9
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CF9#FFFFFF#000000##000000
##FB7CF91.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FD
Deuteranopia (green-blind)
#98B3F5
Tritanopia (blue-blind)
#FF89B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb7cf9;
/* rgb */ color: rgb(251, 124, 249);
/* oklch */ color: oklch(77.4% 0.213 328.0);
Tailwind
colors: {
  custom: {
    50: '#ffa7fb',
    500: '#fb7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cf9;
$custom-light: #ffa7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cf9",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 300.945,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77437,
    "c": 0.2129,
    "h": 328
  },
  "luminance": 0.41764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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