#FB7EF5#FB7EF5

#FB7EF5 is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.5% C 0.206 H 329.2°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#FB7EF5
RGBrgb(251, 126, 245)
HSLhsl(303, 94%, 74%)
HSVhsv(303, 50%, 98%)
CMYKcmyk(0%, 49.8%, 2.4%, 1.6%)
CIE-LABlab(70.89, 63.09, -38.67)
CIE-LCHlch(70.89, 74.00, 328.50°)
OKLaboklab(77.51% 0.1773 -0.1058)
OKLCHoklch(77.51% 0.206 329.2)
XYZxyz(63.7252, 42.0273, 91.1240)
Luminance0.4202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EF5 #7EFB84
analogous
#C37EFB #FB7EF5 #FB7EB7
triadic
#FB7EF5 #F5FB7E #7EF5FB
tetradic
#FB7EF5 #FBC37E #7EFB84 #7EB7FB
square
#FB7EF5 #FBC37E #7EFB84 #7EB7FB
split-complementary
#FB7EF5 #B7FB7E #7EFBC3
monochromatic
#F708EB #F943F0 #FB7EF5 #FDB9FA #FEE1FD

Accessibility & contrast

On white

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

On black

9.40
#FB7EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EF5
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EF5#FFFFFF#000000##000000
##FB7EF51.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3F9
Deuteranopia (green-blind)
#9BB4F1
Tritanopia (blue-blind)
#FF8AAF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb7ef5;
/* rgb */ color: rgb(251, 126, 245);
/* oklch */ color: oklch(77.5% 0.206 329.2);
Tailwind
colors: {
  custom: {
    50: '#ffa8f9',
    500: '#fb7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ef5;
$custom-light: #ffa8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ef5",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 302.88,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77513,
    "c": 0.20647,
    "h": 329.2
  },
  "luminance": 0.42024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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