#FB7FE8#FB7FE8

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

Color values

HEX#FB7FE8
RGBrgb(251, 127, 232)
HSLhsl(309, 94%, 74%)
HSVhsv(309, 49%, 98%)
CMYKcmyk(0%, 49.4%, 7.6%, 1.6%)
CIE-LABlab(70.54, 60.48, -32.08)
CIE-LCHlch(70.54, 68.46, 332.06°)
OKLaboklab(77.08% 0.1736 -0.0871)
OKLCHoklch(77.08% 0.194 333.4)
XYZxyz(61.9384, 41.5182, 81.0797)
Luminance0.4151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FE8 #7FFB92
analogous
#D07FFB #FB7FE8 #FB7FAA
triadic
#FB7FE8 #E8FB7F #7FE8FB
tetradic
#FB7FE8 #FBD07F #7FFB92 #7FAAFB
square
#FB7FE8 #FBD07F #7FFB92 #7FAAFB
split-complementary
#FB7FE8 #AAFB7F #7FFBD0
monochromatic
#F708D3 #F944DD #FB7FE8 #FDBAF3 #FEE1FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB7FE8#FFFFFF#000000##000000
##FB7FE81.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)
#7DA1EC
Deuteranopia (green-blind)
#A0B3E4
Tritanopia (blue-blind)
#FF87A9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7fe8;
/* rgb */ color: rgb(251, 127, 232);
/* oklch */ color: oklch(77.1% 0.194 333.4);
Tailwind
colors: {
  custom: {
    50: '#ffa8ef',
    500: '#fb7fe8',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fe8;
$custom-light: #ffa8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fe8",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 309.194,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77079,
    "c": 0.19426,
    "h": 333.4
  },
  "luminance": 0.41514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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