#FB7BF5#FB7BF5

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

Color values

HEX#FB7BF5
RGBrgb(251, 123, 245)
HSLhsl(303, 94%, 73%)
HSVhsv(303, 51%, 98%)
CMYKcmyk(0%, 51%, 2.4%, 1.6%)
CIE-LABlab(70.37, 64.48, -39.48)
CIE-LCHlch(70.37, 75.61, 328.52°)
OKLaboklab(77.13% 0.1812 -0.1081)
OKLCHoklch(77.13% 0.211 329.2)
XYZxyz(63.3473, 41.2715, 90.9981)
Luminance0.4127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BF5 #7BFB81
analogous
#C17BFB #FB7BF5 #FB7BB5
triadic
#FB7BF5 #F5FB7B #7BF5FB
tetradic
#FB7BF5 #FBC17B #7BFB81 #7BB5FB
square
#FB7BF5 #FBC17B #7BFB81 #7BB5FB
split-complementary
#FB7BF5 #B5FB7B #7BFBC1
monochromatic
#F407E9 #F940F0 #FB7BF5 #FDB6F9 #FEE1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB7BF5#FFFFFF#000000##000000
##FB7BF51.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)
#72A1F9
Deuteranopia (green-blind)
#99B2F1
Tritanopia (blue-blind)
#FF87AD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7bf5;
/* rgb */ color: rgb(251, 123, 245);
/* oklch */ color: oklch(77.1% 0.211 329.2);
Tailwind
colors: {
  custom: {
    50: '#ffa6f9',
    500: '#fb7bf5',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bf5;
$custom-light: #ffa6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bf5",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 302.813,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77126,
    "c": 0.21104,
    "h": 329.2
  },
  "luminance": 0.41268
}

Semantic roles & 50–950 ramp

primary
#FB7BF5
secondary
#D5F6D6
accent
#E60B00
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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