#FB7CEE#FB7CEE

#FB7CEE is a light, highly saturated purple. Relative luminance 0.411; OKLCH L 76.9% C 0.204 H 331.3°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#FB7CEE
RGBrgb(251, 124, 238)
HSLhsl(306, 94%, 74%)
HSVhsv(306, 51%, 98%)
CMYKcmyk(0%, 50.6%, 5.2%, 1.6%)
CIE-LABlab(70.25, 62.86, -35.83)
CIE-LCHlch(70.25, 72.36, 330.32°)
OKLaboklab(76.94% 0.1788 -0.0977)
OKLCHoklch(76.94% 0.204 331.3)
XYZxyz(62.4235, 41.1015, 85.5178)
Luminance0.4110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CEE #7CFB89
analogous
#C87CFB #FB7CEE #FB7CAE
triadic
#FB7CEE #EEFB7C #7CEEFB
tetradic
#FB7CEE #FBC87C #7CFB89 #7CAEFB
square
#FB7CEE #FBC87C #7CFB89 #7CAEFB
split-complementary
#FB7CEE #AEFB7C #7CFBC8
monochromatic
#F507DD #F941E6 #FB7CEE #FDB7F6 #FEE1FB

Accessibility & contrast

On white

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

On black

9.22
#FB7CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CEE
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CEE#FFFFFF#000000##000000
##FB7CEE1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F2
Deuteranopia (green-blind)
#9CB2EA
Tritanopia (blue-blind)
#FF86AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7cee;
/* rgb */ color: rgb(251, 124, 238);
/* oklch */ color: oklch(76.9% 0.204 331.3);
Tailwind
colors: {
  custom: {
    50: '#ffa6f4',
    500: '#fb7cee',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cee;
$custom-light: #ffa6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cee",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 306.142,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76943,
    "c": 0.20374,
    "h": 331.3
  },
  "luminance": 0.41098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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