#FB8BF2#FB8BF2

#FB8BF2 is a light, vivid purple. Relative luminance 0.454; OKLCH L 79.1% C 0.183 H 330.1°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#FB8BF2
RGBrgb(251, 139, 242)
HSLhsl(305, 93%, 76%)
HSVhsv(305, 45%, 98%)
CMYKcmyk(0%, 44.6%, 3.6%, 1.6%)
CIE-LABlab(73.15, 56.36, -33.52)
CIE-LCHlch(73.15, 65.57, 329.25°)
OKLaboklab(79.15% 0.159 -0.0913)
OKLCHoklch(79.15% 0.183 330.1)
XYZxyz(65.0426, 45.3889, 89.3221)
Luminance0.4538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8BF2 #8BFB94
analogous
#CC8BFB #FB8BF2 #FB8BBA
triadic
#FB8BF2 #F2FB8B #8BF2FB
tetradic
#FB8BF2 #FBCC8B #8BFB94 #8BBAFB
square
#FB8BF2 #FBCC8B #8BFB94 #8BBAFB
split-complementary
#FB8BF2 #BAFB8B #8BFBCC
monochromatic
#F715E5 #F950EB #FB8BF2 #FDC6F9 #FEE1FC

Accessibility & contrast

On white

2.08
#FB8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#FB8BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8BF2
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8BF2#FFFFFF#000000##000000
##FB8BF21.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF6
Deuteranopia (green-blind)
#A5B9EF
Tritanopia (blue-blind)
#FF94B3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #fb8bf2;
/* rgb */ color: rgb(251, 139, 242);
/* oklch */ color: oklch(79.1% 0.183 330.1);
Tailwind
colors: {
  custom: {
    50: '#ffb0f6',
    500: '#fb8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #fb8bf2;
$custom-light: #ffb0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8bf2",
  "rgb": {
    "r": 251,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 304.821,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79149,
    "c": 0.18338,
    "h": 330.1
  },
  "luminance": 0.45385
}

Semantic roles & 50–950 ramp

primary
#FB8BF2
secondary
#D5F6D8
accent
#E61200
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FB8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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