#FB7DEB#FB7DEB

#FB7DEB is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.9% C 0.200 H 332.3°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#FB7DEB
RGBrgb(251, 125, 235)
HSLhsl(308, 94%, 74%)
HSVhsv(308, 50%, 98%)
CMYKcmyk(0%, 50.2%, 6.4%, 1.6%)
CIE-LABlab(70.30, 61.91, -34.09)
CIE-LCHlch(70.30, 70.67, 331.16°)
OKLaboklab(76.94% 0.1769 -0.0928)
OKLCHoklch(76.94% 0.2 332.3)
XYZxyz(62.1124, 41.1786, 83.2579)
Luminance0.4118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7DEB #7DFB8D
analogous
#CC7DFB #FB7DEB #FB7DAC
triadic
#FB7DEB #EBFB7D #7DEBFB
tetradic
#FB7DEB #FBCC7D #7DFB8D #7DACFB
square
#FB7DEB #FBCC7D #7DFB8D #7DACFB
split-complementary
#FB7DEB #ACFB7D #7DFBCC
monochromatic
#F608D8 #F942E2 #FB7DEB #FDB8F4 #FEE1FA

Accessibility & contrast

On white

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

On black

9.24
#FB7DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7DEB
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7DEB#FFFFFF#000000##000000
##FB7DEB1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1EF
Deuteranopia (green-blind)
#9EB2E7
Tritanopia (blue-blind)
#FF86A9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7deb;
/* rgb */ color: rgb(251, 125, 235);
/* oklch */ color: oklch(76.9% 0.200 332.3);
Tailwind
colors: {
  custom: {
    50: '#ffa7f1',
    500: '#fb7deb',
    950: '#000000',
  },
}
SCSS
$custom: #fb7deb;
$custom-light: #ffa7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7deb",
  "rgb": {
    "r": 251,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 307.619,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76942,
    "c": 0.19977,
    "h": 332.3
  },
  "luminance": 0.41175
}

Semantic roles & 50–950 ramp

primary
#FB7DEB
secondary
#D5F6D9
accent
#E61D00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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