#FB6BF2#FB6BF2

#FB6BF2 is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 75.1% C 0.232 H 330.1°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#FB6BF2
RGBrgb(251, 107, 242)
HSLhsl(304, 95%, 70%)
HSVhsv(304, 57%, 98%)
CMYKcmyk(0%, 57.4%, 3.6%, 1.6%)
CIE-LABlab(67.61, 71.08, -42.15)
CIE-LCHlch(67.61, 82.64, 329.33°)
OKLaboklab(75.06% 0.201 -0.1156)
OKLCHoklch(75.06% 0.232 330.1)
XYZxyz(61.0679, 37.4395, 87.9973)
Luminance0.3744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB6BF2 #6BFB74
analogous
#BC6BFB #FB6BF2 #FB6BAA
triadic
#FB6BF2 #F2FB6B #6BF2FB
tetradic
#FB6BF2 #FBBC6B #6BFB74 #6BAAFB
square
#FB6BF2 #FBBC6B #6BFB74 #6BAAFB
split-complementary
#FB6BF2 #AAFB6B #6BFBBC
monochromatic
#E506D7 #F92FED #FB6BF2 #FDA7F7 #FEE1FC

Accessibility & contrast

On white

2.47
#FB6BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#FB6BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB6BF2
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB6BF2#FFFFFF#000000##000000
##FB6BF21.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#90ACEE
Tritanopia (blue-blind)
#FF79A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fb6bf2;
/* rgb */ color: rgb(251, 107, 242);
/* oklch */ color: oklch(75.1% 0.232 330.1);
Tailwind
colors: {
  custom: {
    50: '#ff9df7',
    500: '#fb6bf2',
    950: '#000000',
  },
}
SCSS
$custom: #fb6bf2;
$custom-light: #ff9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb6bf2",
  "rgb": {
    "r": 251,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 303.75,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.75056,
    "c": 0.23193,
    "h": 330.1
  },
  "luminance": 0.37435
}

Semantic roles & 50–950 ramp

primary
#FB6BF2
secondary
#CDF5CF
accent
#E60E00
background
#FFFAFF
surface
#FFF3FE
border
#D7CDD6
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB6BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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