#FB8FEF#FB8FEF

#FB8FEF is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.6% C 0.174 H 331.2°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#FB8FEF
RGBrgb(251, 143, 239)
HSLhsl(307, 93%, 77%)
HSVhsv(307, 43%, 98%)
CMYKcmyk(0%, 43%, 4.8%, 1.6%)
CIE-LABlab(73.80, 53.88, -30.88)
CIE-LCHlch(73.80, 62.10, 330.18°)
OKLaboklab(79.6% 0.1528 -0.0838)
OKLCHoklch(79.6% 0.174 331.2)
XYZxyz(65.1855, 46.3897, 87.1652)
Luminance0.4639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8FEF #8FFB9B
analogous
#D18FFB #FB8FEF #FB8FB9
triadic
#FB8FEF #EFFB8F #8FEFFB
tetradic
#FB8FEF #FBD18F #8FFB9B #8FB9FB
square
#FB8FEF #FBD18F #8FFB9B #8FB9FB
split-complementary
#FB8FEF #B9FB8F #8FFBD1
monochromatic
#F719DE #F954E7 #FB8FEF #FDCAF7 #FEE1FB

Accessibility & contrast

On white

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

On black

10.28
#FB8FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8FEF
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8FEF#FFFFFF#000000##000000
##FB8FEF1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#A8BBEC
Tritanopia (blue-blind)
#FF97B4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #fb8fef;
/* rgb */ color: rgb(251, 143, 239);
/* oklch */ color: oklch(79.6% 0.174 331.2);
Tailwind
colors: {
  custom: {
    50: '#feb2f4',
    500: '#fb8fef',
    950: '#000000',
  },
}
SCSS
$custom: #fb8fef;
$custom-light: #feb2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8fef",
  "rgb": {
    "r": 251,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 306.667,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79597,
    "c": 0.17428,
    "h": 331.2
  },
  "luminance": 0.46386
}

Semantic roles & 50–950 ramp

primary
#FB8FEF
secondary
#D5F6D9
accent
#E61A00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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