#FB7BEF#FB7BEF

#FB7BEF is a light, highly saturated purple. Relative luminance 0.409; OKLCH L 76.9% C 0.206 H 331.0°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#FB7BEF
RGBrgb(251, 123, 239)
HSLhsl(306, 94%, 73%)
HSVhsv(306, 51%, 98%)
CMYKcmyk(0%, 51%, 4.8%, 1.6%)
CIE-LABlab(70.11, 63.49, -36.58)
CIE-LCHlch(70.11, 73.28, 330.05°)
OKLaboklab(76.86% 0.1803 -0.0999)
OKLCHoklch(76.86% 0.206 331)
XYZxyz(62.4462, 40.9111, 86.2521)
Luminance0.4091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BEF #7BFB87
analogous
#C77BFB #FB7BEF #FB7BAF
triadic
#FB7BEF #EFFB7B #7BEFFB
tetradic
#FB7BEF #FBC77B #7BFB87 #7BAFFB
square
#FB7BEF #FBC77B #7BFB87 #7BAFFB
split-complementary
#FB7BEF #AFFB7B #7BFBC7
monochromatic
#F407DE #F940E8 #FB7BEF #FDB6F6 #FEE1FB

Accessibility & contrast

On white

2.29
#FB7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#FB7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BEF
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BEF#FFFFFF#000000##000000
##FB7BEF1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#9BB2EB
Tritanopia (blue-blind)
#FF85AA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fb7bef;
/* rgb */ color: rgb(251, 123, 239);
/* oklch */ color: oklch(76.9% 0.206 331.0);
Tailwind
colors: {
  custom: {
    50: '#ffa6f4',
    500: '#fb7bef',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bef;
$custom-light: #ffa6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bef",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 305.625,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76858,
    "c": 0.20609,
    "h": 331
  },
  "luminance": 0.40907
}

Semantic roles & 50–950 ramp

primary
#FB7BEF
secondary
#D5F6D8
accent
#E61600
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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