#FB7EFF#FB7EFF

#FB7EFF is a light, highly saturated purple. Relative luminance 0.427; OKLCH L 78.0% C 0.215 H 326.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#FB7EFF
RGBrgb(251, 126, 255)
HSLhsl(298, 100%, 75%)
HSVhsv(298, 51%, 100%)
CMYKcmyk(1.6%, 50.6%, 0%, 0%)
CIE-LABlab(71.32, 64.80, -43.45)
CIE-LCHlch(71.32, 78.02, 326.15°)
OKLaboklab(77.97% 0.1787 -0.1196)
OKLCHoklch(77.97% 0.215 326.2)
XYZxyz(65.2932, 42.6545, 99.3823)
Luminance0.4265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EFF #82FF7E
analogous
#BB7EFF #FB7EFF #FF7EC2
triadic
#FB7EFF #FFFB7E #7EFFFB
tetradic
#FB7EFF #FFBB7E #82FF7E #7EC2FF
square
#FB7EFF #FFBB7E #82FF7E #7EC2FF
split-complementary
#FB7EFF #C2FF7E #7EFFBB
monochromatic
#F704FF #F941FF #FB7EFF #FDBBFF #FEE0FF

Accessibility & contrast

On white

2.20
#FB7EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#FB7EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EFF
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EFF#FFFFFF#000000##000000
##FB7EFF1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#96B4FB
Tritanopia (blue-blind)
#FF8DB3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fb7eff;
/* rgb */ color: rgb(251, 126, 255);
/* oklch */ color: oklch(78.0% 0.215 326.2);
Tailwind
colors: {
  custom: {
    50: '#ffa8ff',
    500: '#fb7eff',
    950: '#000000',
  },
}
SCSS
$custom: #fb7eff;
$custom-light: #ffa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7eff",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 298.14,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77971,
    "c": 0.21503,
    "h": 326.2
  },
  "luminance": 0.42651
}

Semantic roles & 50–950 ramp

primary
#FB7EFF
secondary
#D5F7D4
accent
#E60007
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FB7EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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