#FB6FE7#FB6FE7

#FB6FE7 is a light, highly saturated purple. Relative luminance 0.376; OKLCH L 75.0% C 0.218 H 333.4°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#FB6FE7
RGBrgb(251, 111, 231)
HSLhsl(309, 95%, 71%)
HSVhsv(309, 56%, 98%)
CMYKcmyk(0%, 55.8%, 8%, 1.6%)
CIE-LABlab(67.76, 67.61, -35.82)
CIE-LCHlch(67.76, 76.52, 332.08°)
OKLaboklab(75.02% 0.1946 -0.0976)
OKLCHoklch(75.02% 0.218 333.4)
XYZxyz(59.8920, 37.6519, 79.6989)
Luminance0.3765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB6FE7 #6FFB83
analogous
#C96FFB #FB6FE7 #FB6FA1
triadic
#FB6FE7 #E7FB6F #6FE7FB
tetradic
#FB6FE7 #FBC96F #6FFB83 #6FA1FB
square
#FB6FE7 #FBC96F #6FFB83 #6FA1FB
split-complementary
#FB6FE7 #A1FB6F #6FFBC9
monochromatic
#E906C9 #F933DD #FB6FE7 #FDABF1 #FEE1FA

Accessibility & contrast

On white

2.46
#FB6FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#FB6FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB6FE7
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB6FE7#FFFFFF#000000##000000
##FB6FE71.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EB
Deuteranopia (green-blind)
#97ACE3
Tritanopia (blue-blind)
#FF79A1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fb6fe7;
/* rgb */ color: rgb(251, 111, 231);
/* oklch */ color: oklch(75.0% 0.218 333.4);
Tailwind
colors: {
  custom: {
    50: '#ff9fef',
    500: '#fb6fe7',
    950: '#000000',
  },
}
SCSS
$custom: #fb6fe7;
$custom-light: #ff9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#fb6fe7",
  "rgb": {
    "r": 251,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 308.571,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75016,
    "c": 0.21769,
    "h": 333.4
  },
  "luminance": 0.37648
}

Semantic roles & 50–950 ramp

primary
#FB6FE7
secondary
#D0F6D6
accent
#E62100
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #FB6FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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