#FB7CFA#FB7CFA

#FB7CFA is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.5% C 0.214 H 327.7°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#FB7CFA
RGBrgb(251, 124, 250)
HSLhsl(300, 94%, 74%)
HSVhsv(300, 51%, 98%)
CMYKcmyk(0%, 50.6%, 0.4%, 1.6%)
CIE-LABlab(70.75, 64.87, -41.61)
CIE-LCHlch(70.75, 77.07, 327.32°)
OKLaboklab(77.48% 0.1807 -0.1142)
OKLCHoklch(77.48% 0.214 327.7)
XYZxyz(64.2456, 41.8303, 95.1140)
Luminance0.4183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CFA #7CFB7D
analogous
#BC7CFB #FB7CFA #FB7CBA
triadic
#FB7CFA #FAFB7C #7CFAFB
tetradic
#FB7CFA #FBBC7C #7CFB7D #7CBAFB
square
#FB7CFA #FBBC7C #7CFB7D #7CBAFB
split-complementary
#FB7CFA #BAFB7C #7CFBBC
monochromatic
#F507F3 #F941F8 #FB7CFA #FDB7FC #FEE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB7CFA#FFFFFF#000000##000000
##FB7CFA1.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)
#70A3FE
Deuteranopia (green-blind)
#97B3F6
Tritanopia (blue-blind)
#FF8AB0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb7cfa;
/* rgb */ color: rgb(251, 124, 250);
/* oklch */ color: oklch(77.5% 0.214 327.7);
Tailwind
colors: {
  custom: {
    50: '#ffa7fc',
    500: '#fb7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cfa;
$custom-light: #ffa7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cfa",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 300.472,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77483,
    "c": 0.21375,
    "h": 327.7
  },
  "luminance": 0.41827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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