#FB8FF2#FB8FF2

#FB8FF2 is a light, vivid purple. Relative luminance 0.466; OKLCH L 79.7% C 0.177 H 330.2°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#FB8FF2
RGBrgb(251, 143, 242)
HSLhsl(305, 93%, 77%)
HSVhsv(305, 43%, 98%)
CMYKcmyk(0%, 43%, 3.6%, 1.6%)
CIE-LABlab(73.91, 54.38, -32.34)
CIE-LCHlch(73.91, 63.27, 329.26°)
OKLaboklab(79.72% 0.1534 -0.088)
OKLCHoklch(79.72% 0.177 330.2)
XYZxyz(65.6324, 46.5685, 89.5187)
Luminance0.4657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8FF2 #8FFB98
analogous
#CE8FFB #FB8FF2 #FB8FBC
triadic
#FB8FF2 #F2FB8F #8FF2FB
tetradic
#FB8FF2 #FBCE8F #8FFB98 #8FBCFB
square
#FB8FF2 #FBCE8F #8FFB98 #8FBCFB
split-complementary
#FB8FF2 #BCFB8F #8FFBCE
monochromatic
#F719E4 #F954EB #FB8FF2 #FDCAF9 #FEE1FC

Accessibility & contrast

On white

2.04
#FB8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#FB8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8FF2
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8FF2#FFFFFF#000000##000000
##FB8FF21.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF5
Deuteranopia (green-blind)
#A7BBEF
Tritanopia (blue-blind)
#FF97B5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #fb8ff2;
/* rgb */ color: rgb(251, 143, 242);
/* oklch */ color: oklch(79.7% 0.177 330.2);
Tailwind
colors: {
  custom: {
    50: '#feb2f6',
    500: '#fb8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #fb8ff2;
$custom-light: #feb2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8ff2",
  "rgb": {
    "r": 251,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 305,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79721,
    "c": 0.17686,
    "h": 330.2
  },
  "luminance": 0.46565
}

Semantic roles & 50–950 ramp

primary
#FB8FF2
secondary
#D5F6D8
accent
#E61300
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FB8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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