#FB6BEC#FB6BEC

#FB6BEC is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.8% C 0.227 H 331.8°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#FB6BEC
RGBrgb(251, 107, 236)
HSLhsl(306, 95%, 70%)
HSVhsv(306, 57%, 98%)
CMYKcmyk(0%, 57.4%, 6%, 1.6%)
CIE-LABlab(67.34, 70.12, -39.25)
CIE-LCHlch(67.34, 80.36, 330.76°)
OKLaboklab(74.78% 0.2003 -0.1073)
OKLCHoklch(74.78% 0.227 331.8)
XYZxyz(60.1815, 37.0850, 83.3290)
Luminance0.3708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB6BEC #6BFB7A
analogous
#C26BFB #FB6BEC #FB6BA4
triadic
#FB6BEC #ECFB6B #6BECFB
tetradic
#FB6BEC #FBC26B #6BFB7A #6BA4FB
square
#FB6BEC #FBC26B #6BFB7A #6BA4FB
split-complementary
#FB6BEC #A4FB6B #6BFBC2
monochromatic
#E506CE #F92FE4 #FB6BEC #FDA7F4 #FEE1FB

Accessibility & contrast

On white

2.50
#FB6BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#FB6BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB6BEC
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB6BEC#FFFFFF#000000##000000
##FB6BEC1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#93ABE8
Tritanopia (blue-blind)
#FF77A2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #fb6bec;
/* rgb */ color: rgb(251, 107, 236);
/* oklch */ color: oklch(74.8% 0.227 331.8);
Tailwind
colors: {
  custom: {
    50: '#ff9cf2',
    500: '#fb6bec',
    950: '#000000',
  },
}
SCSS
$custom: #fb6bec;
$custom-light: #ff9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb6bec",
  "rgb": {
    "r": 251,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 306.25,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74776,
    "c": 0.22725,
    "h": 331.8
  },
  "luminance": 0.37081
}

Semantic roles & 50–950 ramp

primary
#FB6BEC
secondary
#CDF5D1
accent
#E61800
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB6BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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