#FB8EF7#FB8EF7

#FB8EF7 is a light, vivid purple. Relative luminance 0.466; OKLCH L 79.8% C 0.183 H 328.5°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#FB8EF7
RGBrgb(251, 142, 247)
HSLhsl(302, 93%, 77%)
HSVhsv(302, 43%, 98%)
CMYKcmyk(0%, 43.4%, 1.6%, 1.6%)
CIE-LABlab(73.92, 55.74, -35.06)
CIE-LCHlch(73.92, 65.85, 327.83°)
OKLaboklab(79.79% 0.1558 -0.0957)
OKLCHoklch(79.79% 0.183 328.5)
XYZxyz(66.2441, 46.5740, 93.4780)
Luminance0.4657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8EF7 #8EFB92
analogous
#C98EFB #FB8EF7 #FB8EC1
triadic
#FB8EF7 #F7FB8E #8EF7FB
tetradic
#FB8EF7 #FBC98E #8EFB92 #8EC1FB
square
#FB8EF7 #FBC98E #8EFB92 #8EC1FB
split-complementary
#FB8EF7 #C1FB8E #8EFBC9
monochromatic
#F718EF #F953F3 #FB8EF7 #FDC9FB #FEE1FD

Accessibility & contrast

On white

2.04
#FB8EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#FB8EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8EF7
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8EF7#FFFFFF#000000##000000
##FB8EF71.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFB
Deuteranopia (green-blind)
#A5BBF4
Tritanopia (blue-blind)
#FF98B7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #fb8ef7;
/* rgb */ color: rgb(251, 142, 247);
/* oklch */ color: oklch(79.8% 0.183 328.5);
Tailwind
colors: {
  custom: {
    50: '#feb2fa',
    500: '#fb8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #fb8ef7;
$custom-light: #feb2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8ef7",
  "rgb": {
    "r": 251,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 302.202,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.79788,
    "c": 0.18287,
    "h": 328.5
  },
  "luminance": 0.46571
}

Semantic roles & 50–950 ramp

primary
#FB8EF7
secondary
#D5F6D6
accent
#E60800
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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