#FB8EF2#FB8EF2

#FB8EF2 is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.6% C 0.178 H 330.2°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#FB8EF2
RGBrgb(251, 142, 242)
HSLhsl(305, 93%, 77%)
HSVhsv(305, 43%, 98%)
CMYKcmyk(0%, 43.4%, 3.6%, 1.6%)
CIE-LABlab(73.72, 54.88, -32.64)
CIE-LCHlch(73.72, 63.85, 329.26°)
OKLaboklab(79.58% 0.1548 -0.0888)
OKLCHoklch(79.58% 0.179 330.2)
XYZxyz(65.4829, 46.2696, 89.4689)
Luminance0.4627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8EF2 #8EFB97
analogous
#CE8EFB #FB8EF2 #FB8EBC
triadic
#FB8EF2 #F2FB8E #8EF2FB
tetradic
#FB8EF2 #FBCE8E #8EFB97 #8EBCFB
square
#FB8EF2 #FBCE8E #8EFB97 #8EBCFB
split-complementary
#FB8EF2 #BCFB8E #8EFBCE
monochromatic
#F718E4 #F953EB #FB8EF2 #FDC9F9 #FEE1FC

Accessibility & contrast

On white

2.05
#FB8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#FB8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8EF2
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8EF2#FFFFFF#000000##000000
##FB8EF21.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#A7BBEF
Tritanopia (blue-blind)
#FF96B5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #fb8ef2;
/* rgb */ color: rgb(251, 142, 242);
/* oklch */ color: oklch(79.6% 0.178 330.2);
Tailwind
colors: {
  custom: {
    50: '#feb2f6',
    500: '#fb8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #fb8ef2;
$custom-light: #feb2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8ef2",
  "rgb": {
    "r": 251,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 304.954,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.79577,
    "c": 0.1785,
    "h": 330.2
  },
  "luminance": 0.46266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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