#FB7BF3#FB7BF3

#FB7BF3 is a light, highly saturated purple. Relative luminance 0.411; OKLCH L 77.0% C 0.209 H 329.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#FB7BF3
RGBrgb(251, 123, 243)
HSLhsl(304, 94%, 73%)
HSVhsv(304, 51%, 98%)
CMYKcmyk(0%, 51%, 3.2%, 1.6%)
CIE-LABlab(70.28, 64.15, -38.52)
CIE-LCHlch(70.28, 74.83, 329.02°)
OKLaboklab(77.04% 0.1809 -0.1054)
OKLCHoklch(77.04% 0.209 329.8)
XYZxyz(63.0436, 41.1501, 89.3988)
Luminance0.4115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BF3 #7BFB83
analogous
#C37BFB #FB7BF3 #FB7BB3
triadic
#FB7BF3 #F3FB7B #7BF3FB
tetradic
#FB7BF3 #FBC37B #7BFB83 #7BB3FB
square
#FB7BF3 #FBC37B #7BFB83 #7BB3FB
split-complementary
#FB7BF3 #B3FB7B #7BFBC3
monochromatic
#F407E5 #F940EE #FB7BF3 #FDB6F8 #FEE1FC

Accessibility & contrast

On white

2.28
#FB7BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#FB7BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BF3
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BF3#FFFFFF#000000##000000
##FB7BF31.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A1F7
Deuteranopia (green-blind)
#99B2EF
Tritanopia (blue-blind)
#FF87AC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7bf3;
/* rgb */ color: rgb(251, 123, 243);
/* oklch */ color: oklch(77.0% 0.209 329.8);
Tailwind
colors: {
  custom: {
    50: '#ffa6f7',
    500: '#fb7bf3',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bf3;
$custom-light: #ffa6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bf3",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 303.75,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77036,
    "c": 0.20937,
    "h": 329.8
  },
  "luminance": 0.41146
}

Semantic roles & 50–950 ramp

primary
#FB7BF3
secondary
#D5F6D7
accent
#E60E00
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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