#FB7EEC#FB7EEC

#FB7EEC is a light, vivid purple. Relative luminance 0.415; OKLCH L 77.1% C 0.199 H 332.0°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#FB7EEC
RGBrgb(251, 126, 236)
HSLhsl(307, 94%, 74%)
HSVhsv(307, 50%, 98%)
CMYKcmyk(0%, 49.8%, 6%, 1.6%)
CIE-LABlab(70.52, 61.60, -34.31)
CIE-LCHlch(70.52, 70.51, 330.89°)
OKLaboklab(77.12% 0.1757 -0.0934)
OKLCHoklch(77.12% 0.199 332)
XYZxyz(62.3845, 41.4910, 84.0633)
Luminance0.4149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EEC #7EFB8D
analogous
#CC7EFB #FB7EEC #FB7EAE
triadic
#FB7EEC #ECFB7E #7EECFB
tetradic
#FB7EEC #FBCC7E #7EFB8D #7EAEFB
square
#FB7EEC #FBCC7E #7EFB8D #7EAEFB
split-complementary
#FB7EEC #AEFB7E #7EFBCC
monochromatic
#F708DA #F943E3 #FB7EEC #FDB9F5 #FEE1FB

Accessibility & contrast

On white

2.26
#FB7EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#FB7EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EEC
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EEC#FFFFFF#000000##000000
##FB7EEC1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1F0
Deuteranopia (green-blind)
#9EB3E8
Tritanopia (blue-blind)
#FF87AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7eec;
/* rgb */ color: rgb(251, 126, 236);
/* oklch */ color: oklch(77.1% 0.199 332.0);
Tailwind
colors: {
  custom: {
    50: '#ffa8f2',
    500: '#fb7eec',
    950: '#000000',
  },
}
SCSS
$custom: #fb7eec;
$custom-light: #ffa8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7eec",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 307.2,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77117,
    "c": 0.19902,
    "h": 332
  },
  "luminance": 0.41487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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