#FB7CF1#FB7CF1

#FB7CF1 is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.1% C 0.206 H 330.4°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#FB7CF1
RGBrgb(251, 124, 241)
HSLhsl(305, 94%, 74%)
HSVhsv(305, 51%, 98%)
CMYKcmyk(0%, 50.6%, 4%, 1.6%)
CIE-LABlab(70.37, 63.36, -37.28)
CIE-LCHlch(70.37, 73.51, 329.53°)
OKLaboklab(77.08% 0.1793 -0.1019)
OKLCHoklch(77.08% 0.206 330.4)
XYZxyz(62.8680, 41.2793, 87.8584)
Luminance0.4128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CF1 #7CFB86
analogous
#C57CFB #FB7CF1 #FB7CB1
triadic
#FB7CF1 #F1FB7C #7CF1FB
tetradic
#FB7CF1 #FBC57C #7CFB86 #7CB1FB
square
#FB7CF1 #FBC57C #7CFB86 #7CB1FB
split-complementary
#FB7CF1 #B1FB7C #7CFBC5
monochromatic
#F507E2 #F941EB #FB7CF1 #FDB7F7 #FEE1FC

Accessibility & contrast

On white

2.27
#FB7CF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#FB7CF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CF1
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CF1#FFFFFF#000000##000000
##FB7CF11.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F5
Deuteranopia (green-blind)
#9BB2ED
Tritanopia (blue-blind)
#FF87AC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7cf1;
/* rgb */ color: rgb(251, 124, 241);
/* oklch */ color: oklch(77.1% 0.206 330.4);
Tailwind
colors: {
  custom: {
    50: '#ffa7f6',
    500: '#fb7cf1',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cf1;
$custom-light: #ffa7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cf1",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 241
  },
  "hsl": {
    "h": 304.724,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77075,
    "c": 0.2062,
    "h": 330.4
  },
  "luminance": 0.41275
}

Semantic roles & 50–950 ramp

primary
#FB7CF1
secondary
#D5F6D7
accent
#E61200
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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