#FB8DF2#FB8DF2

#FB8DF2 is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.4% C 0.180 H 330.2°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#FB8DF2
RGBrgb(251, 141, 242)
HSLhsl(305, 93%, 77%)
HSVhsv(305, 44%, 98%)
CMYKcmyk(0%, 43.8%, 3.6%, 1.6%)
CIE-LABlab(73.53, 55.37, -32.93)
CIE-LCHlch(73.53, 64.43, 329.26°)
OKLaboklab(79.43% 0.1562 -0.0896)
OKLCHoklch(79.43% 0.18 330.2)
XYZxyz(65.3348, 45.9733, 89.4196)
Luminance0.4597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8DF2 #8DFB96
analogous
#CD8DFB #FB8DF2 #FB8DBB
triadic
#FB8DF2 #F2FB8D #8DF2FB
tetradic
#FB8DF2 #FBCD8D #8DFB96 #8DBBFB
square
#FB8DF2 #FBCD8D #8DFB96 #8DBBFB
split-complementary
#FB8DF2 #BBFB8D #8DFBCD
monochromatic
#F717E5 #F952EB #FB8DF2 #FDC8F9 #FEE1FC

Accessibility & contrast

On white

2.06
#FB8DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#FB8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8DF2
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8DF2#FFFFFF#000000##000000
##FB8DF21.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF6
Deuteranopia (green-blind)
#A6BAEF
Tritanopia (blue-blind)
#FF96B4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #fb8df2;
/* rgb */ color: rgb(251, 141, 242);
/* oklch */ color: oklch(79.4% 0.180 330.2);
Tailwind
colors: {
  custom: {
    50: '#feb1f6',
    500: '#fb8df2',
    950: '#000000',
  },
}
SCSS
$custom: #fb8df2;
$custom-light: #feb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8df2",
  "rgb": {
    "r": 251,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 304.909,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79433,
    "c": 0.18012,
    "h": 330.2
  },
  "luminance": 0.4597
}

Semantic roles & 50–950 ramp

primary
#FB8DF2
secondary
#D5F6D8
accent
#E61300
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FB8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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