#FB7EE8#FB7EE8

#FB7EE8 is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.9% C 0.196 H 333.3°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#FB7EE8
RGBrgb(251, 126, 232)
HSLhsl(309, 94%, 74%)
HSVhsv(309, 50%, 98%)
CMYKcmyk(0%, 49.8%, 7.6%, 1.6%)
CIE-LABlab(70.36, 60.95, -32.35)
CIE-LCHlch(70.36, 69.01, 332.04°)
OKLaboklab(76.95% 0.175 -0.0879)
OKLCHoklch(76.95% 0.196 333.3)
XYZxyz(61.8099, 41.2612, 81.0369)
Luminance0.4126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EE8 #7EFB91
analogous
#D07EFB #FB7EE8 #FB7EAA
triadic
#FB7EE8 #E8FB7E #7EE8FB
tetradic
#FB7EE8 #FBD07E #7EFB91 #7EAAFB
square
#FB7EE8 #FBD07E #7EFB91 #7EAAFB
split-complementary
#FB7EE8 #AAFB7E #7EFBD0
monochromatic
#F708D3 #F943DD #FB7EE8 #FDB9F3 #FEE1FA

Accessibility & contrast

On white

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

On black

9.25
#FB7EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EE8
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EE8#FFFFFF#000000##000000
##FB7EE81.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA1EC
Deuteranopia (green-blind)
#A0B3E4
Tritanopia (blue-blind)
#FF86A8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7ee8;
/* rgb */ color: rgb(251, 126, 232);
/* oklch */ color: oklch(76.9% 0.196 333.3);
Tailwind
colors: {
  custom: {
    50: '#ffa8ef',
    500: '#fb7ee8',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ee8;
$custom-light: #ffa8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ee8",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 309.12,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76946,
    "c": 0.19582,
    "h": 333.3
  },
  "luminance": 0.41257
}

Semantic roles & 50–950 ramp

primary
#FB7EE8
secondary
#D5F6DA
accent
#E62300
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB7EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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