#FB7CFB#FB7CFB

#FB7CFB is a light, highly saturated purple. Relative luminance 0.419; OKLCH L 77.5% C 0.215 H 327.4°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#FB7CFB
RGBrgb(251, 124, 251)
HSLhsl(300, 94%, 74%)
HSVhsv(300, 51%, 98%)
CMYKcmyk(0%, 50.6%, 0%, 1.6%)
CIE-LABlab(70.80, 65.04, -42.09)
CIE-LCHlch(70.80, 77.47, 327.09°)
OKLaboklab(77.53% 0.1808 -0.1156)
OKLCHoklch(77.53% 0.215 327.4)
XYZxyz(64.4028, 41.8932, 95.9420)
Luminance0.4189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CFB #7CFB7C
analogous
#BB7CFB #FB7CFB #FB7CBB
triadic
#FB7CFB #FBFB7C #7CFBFB
tetradic
#FB7CFB #FBBB7C #7CFB7C #7CBBFB
square
#FB7CFB #FBBB7C #7CFB7C #7CBBFB
split-complementary
#FB7CFB #BBFB7C #7CFBBB
monochromatic
#F507F5 #F941F9 #FB7CFB #FDB7FD #FEE1FE

Accessibility & contrast

On white

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

On black

9.38
#FB7CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CFB
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CFB#FFFFFF#000000##000000
##FB7CFB1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#97B3F7
Tritanopia (blue-blind)
#FF8AB1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb7cfb;
/* rgb */ color: rgb(251, 124, 251);
/* oklch */ color: oklch(77.5% 0.215 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffa7fd',
    500: '#fb7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cfb;
$custom-light: #ffa7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cfb",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 300,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77529,
    "c": 0.2146,
    "h": 327.4
  },
  "luminance": 0.4189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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