#FB7EF7#FB7EF7

#FB7EF7 is a light, highly saturated purple. Relative luminance 0.421; OKLCH L 77.6% C 0.208 H 328.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#FB7EF7
RGBrgb(251, 126, 247)
HSLhsl(302, 94%, 74%)
HSVhsv(302, 50%, 98%)
CMYKcmyk(0%, 49.8%, 1.6%, 1.6%)
CIE-LABlab(70.97, 63.43, -39.63)
CIE-LCHlch(70.97, 74.79, 328.00°)
OKLaboklab(77.6% 0.1776 -0.1086)
OKLCHoklch(77.6% 0.208 328.6)
XYZxyz(64.0321, 42.1500, 92.7407)
Luminance0.4215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EF7 #7EFB82
analogous
#C17EFB #FB7EF7 #FB7EB9
triadic
#FB7EF7 #F7FB7E #7EF7FB
tetradic
#FB7EF7 #FBC17E #7EFB82 #7EB9FB
square
#FB7EF7 #FBC17E #7EFB82 #7EB9FB
split-complementary
#FB7EF7 #B9FB7E #7EFBC1
monochromatic
#F708EF #F943F3 #FB7EF7 #FDB9FB #FEE1FD

Accessibility & contrast

On white

2.23
#FB7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#FB7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EF7
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EF7#FFFFFF#000000##000000
##FB7EF71.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FB
Deuteranopia (green-blind)
#9AB4F3
Tritanopia (blue-blind)
#FF8AB0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb7ef7;
/* rgb */ color: rgb(251, 126, 247);
/* oklch */ color: oklch(77.6% 0.208 328.6);
Tailwind
colors: {
  custom: {
    50: '#ffa8fa',
    500: '#fb7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ef7;
$custom-light: #ffa8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ef7",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 301.92,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77603,
    "c": 0.20815,
    "h": 328.6
  },
  "luminance": 0.42146
}

Semantic roles & 50–950 ramp

primary
#FB7EF7
secondary
#D5F6D6
accent
#E60700
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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