#FB7BF8#FB7BF8

#FB7BF8 is a light, highly saturated purple. Relative luminance 0.415; OKLCH L 77.3% C 0.214 H 328.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#FB7BF8
RGBrgb(251, 123, 248)
HSLhsl(301, 94%, 73%)
HSVhsv(301, 51%, 98%)
CMYKcmyk(0%, 51%, 1.2%, 1.6%)
CIE-LABlab(70.49, 64.99, -40.92)
CIE-LCHlch(70.49, 76.80, 327.80°)
OKLaboklab(77.26% 0.1817 -0.1123)
OKLCHoklch(77.26% 0.214 328.3)
XYZxyz(63.8090, 41.4562, 93.4296)
Luminance0.4145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BF8 #7BFB7E
analogous
#BE7BFB #FB7BF8 #FB7BB8
triadic
#FB7BF8 #F8FB7B #7BF8FB
tetradic
#FB7BF8 #FBBE7B #7BFB7E #7BB8FB
square
#FB7BF8 #FBBE7B #7BFB7E #7BB8FB
split-complementary
#FB7BF8 #B8FB7B #7BFBBE
monochromatic
#F407EF #F940F5 #FB7BF8 #FDB6FB #FEE1FD

Accessibility & contrast

On white

2.26
#FB7BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#FB7BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BF8
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BF8#FFFFFF#000000##000000
##FB7BF81.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FC
Deuteranopia (green-blind)
#97B2F4
Tritanopia (blue-blind)
#FF88AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7bf8;
/* rgb */ color: rgb(251, 123, 248);
/* oklch */ color: oklch(77.3% 0.214 328.3);
Tailwind
colors: {
  custom: {
    50: '#ffa6fb',
    500: '#fb7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bf8;
$custom-light: #ffa6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bf8",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 301.406,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77263,
    "c": 0.21356,
    "h": 328.3
  },
  "luminance": 0.41452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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