#FB8CF2#FB8CF2

#FB8CF2 is a light, vivid purple. Relative luminance 0.457; OKLCH L 79.3% C 0.182 H 330.2°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#FB8CF2
RGBrgb(251, 140, 242)
HSLhsl(305, 93%, 77%)
HSVhsv(305, 44%, 98%)
CMYKcmyk(0%, 44.2%, 3.6%, 1.6%)
CIE-LABlab(73.34, 55.87, -33.23)
CIE-LCHlch(73.34, 65.00, 329.26°)
OKLaboklab(79.29% 0.1576 -0.0905)
OKLCHoklch(79.29% 0.182 330.2)
XYZxyz(65.1880, 45.6798, 89.3706)
Luminance0.4568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8CF2 #8CFB95
analogous
#CD8CFB #FB8CF2 #FB8CBB
triadic
#FB8CF2 #F2FB8C #8CF2FB
tetradic
#FB8CF2 #FBCD8C #8CFB95 #8CBBFB
square
#FB8CF2 #FBCD8C #8CFB95 #8CBBFB
split-complementary
#FB8CF2 #BBFB8C #8CFBCD
monochromatic
#F716E5 #F951EB #FB8CF2 #FDC7F9 #FEE1FC

Accessibility & contrast

On white

2.07
#FB8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#FB8CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8CF2
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8CF2#FFFFFF#000000##000000
##FB8CF21.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ABF6
Deuteranopia (green-blind)
#A5BAEF
Tritanopia (blue-blind)
#FF95B4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #fb8cf2;
/* rgb */ color: rgb(251, 140, 242);
/* oklch */ color: oklch(79.3% 0.182 330.2);
Tailwind
colors: {
  custom: {
    50: '#ffb0f6',
    500: '#fb8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #fb8cf2;
$custom-light: #ffb0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8cf2",
  "rgb": {
    "r": 251,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 304.865,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.79291,
    "c": 0.18175,
    "h": 330.2
  },
  "luminance": 0.45676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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