#FB6FEC#FB6FEC

#FB6FEC is a light, highly saturated purple. Relative luminance 0.379; OKLCH L 75.2% C 0.222 H 331.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#FB6FEC
RGBrgb(251, 111, 236)
HSLhsl(306, 95%, 71%)
HSVhsv(306, 56%, 98%)
CMYKcmyk(0%, 55.8%, 6%, 1.6%)
CIE-LABlab(67.98, 68.40, -38.26)
CIE-LCHlch(67.98, 78.37, 330.78°)
OKLaboklab(75.24% 0.1953 -0.1045)
OKLCHoklch(75.24% 0.222 331.8)
XYZxyz(60.6082, 37.9384, 83.4712)
Luminance0.3793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB6FEC #6FFB7E
analogous
#C46FFB #FB6FEC #FB6FA6
triadic
#FB6FEC #ECFB6F #6FECFB
tetradic
#FB6FEC #FBC46F #6FFB7E #6FA6FB
square
#FB6FEC #FBC46F #6FFB7E #6FA6FB
split-complementary
#FB6FEC #A6FB6F #6FFBC4
monochromatic
#E906D1 #F933E4 #FB6FEC #FDABF4 #FEE1FB

Accessibility & contrast

On white

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

On black

8.59
#FB6FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB6FEC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB6FEC#FFFFFF#000000##000000
##FB6FEC1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#95ADE8
Tritanopia (blue-blind)
#FF7AA4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb6fec;
/* rgb */ color: rgb(251, 111, 236);
/* oklch */ color: oklch(75.2% 0.222 331.8);
Tailwind
colors: {
  custom: {
    50: '#ff9ff2',
    500: '#fb6fec',
    950: '#000000',
  },
}
SCSS
$custom: #fb6fec;
$custom-light: #ff9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb6fec",
  "rgb": {
    "r": 251,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 306.429,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75241,
    "c": 0.22155,
    "h": 331.8
  },
  "luminance": 0.37934
}

Semantic roles & 50–950 ramp

primary
#FB6FEC
secondary
#D0F6D4
accent
#E61900
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB6FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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