#FAB2FC#FAB2FC

#FAB2FC is a very light, vivid purple. Relative luminance 0.592; OKLCH L 85.5% C 0.126 H 325.7°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#FAB2FC
RGBrgb(250, 178, 252)
HSLhsl(298, 93%, 84%)
HSVhsv(298, 29%, 99%)
CMYKcmyk(0.8%, 29.4%, 0%, 1.2%)
CIE-LABlab(81.40, 37.89, -26.26)
CIE-LCHlch(81.40, 46.10, 325.28°)
OKLaboklab(85.46% 0.1043 -0.0711)
OKLCHoklch(85.46% 0.126 325.7)
XYZxyz(72.9137, 59.1955, 99.6616)
Luminance0.5919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAB2FC #B4FCB2
analogous
#D5B2FC #FAB2FC #FCB2D9
triadic
#FAB2FC #FCFAB2 #B2FCFA
tetradic
#FAB2FC #FCD5B2 #B4FCB2 #B2D9FC
square
#FAB2FC #FCD5B2 #B4FCB2 #B2D9FC
split-complementary
#FAB2FC #D9FCB2 #B2FCD5
monochromatic
#F23CF7 #F677FA #FAB2FC #FDE2FE #FDE2FE

Accessibility & contrast

On white

1.64
#FAB2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#FAB2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAB2FC
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAB2FC#FFFFFF#000000##000000
##FAB2FC1.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACC5FF
Deuteranopia (green-blind)
#BECDF9
Tritanopia (blue-blind)
#FEB9CD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #fab2fc;
/* rgb */ color: rgb(250, 178, 252);
/* oklch */ color: oklch(85.5% 0.126 325.7);
Tailwind
colors: {
  custom: {
    50: '#fdcafd',
    500: '#fab2fc',
    950: '#000000',
  },
}
SCSS
$custom: #fab2fc;
$custom-light: #fdcafd;
$custom-dark: #000000;
JSON
{
  "hex": "#fab2fc",
  "rgb": {
    "r": 250,
    "g": 178,
    "b": 252
  },
  "hsl": {
    "h": 298.378,
    "s": 92.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.85464,
    "c": 0.12625,
    "h": 325.7
  },
  "luminance": 0.59193
}

Semantic roles & 50–950 ramp

primary
#FAB2FC
secondary
#74E171
accent
#E60006
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181317
muted
#868285

Preview Lab

Preview with #FAB2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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