#FB6DF2#FB6DF2

#FB6DF2 is a light, highly saturated purple. Relative luminance 0.379; OKLCH L 75.3% C 0.229 H 330.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#FB6DF2
RGBrgb(251, 109, 242)
HSLhsl(304, 95%, 71%)
HSVhsv(304, 57%, 98%)
CMYKcmyk(0%, 56.6%, 3.6%, 1.6%)
CIE-LABlab(67.92, 70.23, -41.66)
CIE-LCHlch(67.92, 81.65, 329.32°)
OKLaboklab(75.29% 0.1986 -0.1143)
OKLCHoklch(75.29% 0.229 330.1)
XYZxyz(61.2788, 37.8614, 88.0676)
Luminance0.3786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB6DF2 #6DFB76
analogous
#BD6DFB #FB6DF2 #FB6DAB
triadic
#FB6DF2 #F2FB6D #6DF2FB
tetradic
#FB6DF2 #FBBD6D #6DFB76 #6DABFB
square
#FB6DF2 #FBBD6D #6DFB76 #6DABFB
split-complementary
#FB6DF2 #ABFB6D #6DFBBD
monochromatic
#E706D9 #F931ED #FB6DF2 #FDA9F7 #FEE1FC

Accessibility & contrast

On white

2.45
#FB6DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#FB6DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB6DF2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB6DF2#FFFFFF#000000##000000
##FB6DF21.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#91ACEE
Tritanopia (blue-blind)
#FF7BA6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fb6df2;
/* rgb */ color: rgb(251, 109, 242);
/* oklch */ color: oklch(75.3% 0.229 330.1);
Tailwind
colors: {
  custom: {
    50: '#ff9ef7',
    500: '#fb6df2',
    950: '#000000',
  },
}
SCSS
$custom: #fb6df2;
$custom-light: #ff9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb6df2",
  "rgb": {
    "r": 251,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 303.803,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.75285,
    "c": 0.22912,
    "h": 330.1
  },
  "luminance": 0.37857
}

Semantic roles & 50–950 ramp

primary
#FB6DF2
secondary
#CFF5D1
accent
#E60F00
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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