#FAB2EF#FAB2EF

#FAB2EF is a very light, moderate purple. Relative luminance 0.584; OKLCH L 85.0% C 0.114 H 332.0°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#FAB2EF
RGBrgb(250, 178, 239)
HSLhsl(309, 88%, 84%)
HSVhsv(309, 29%, 98%)
CMYKcmyk(0%, 28.8%, 4.4%, 2%)
CIE-LABlab(80.96, 35.58, -19.95)
CIE-LCHlch(80.96, 40.79, 330.72°)
OKLaboklab(84.99% 0.1006 -0.0536)
OKLCHoklch(84.99% 0.114 332)
XYZxyz(70.9237, 58.3995, 89.1809)
Luminance0.5840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAB2EF #B2FABD
analogous
#E1B2FA #FAB2EF #FAB2CB
triadic
#FAB2EF #EFFAB2 #B2EFFA
tetradic
#FAB2EF #FAE1B2 #B2FABD #B2CBFA
square
#FAB2EF #FAE1B2 #B2FABD #B2CBFA
split-complementary
#FAB2EF #CBFAB2 #B2FAE1
monochromatic
#F33FD7 #F679E3 #FAB2EF #FDE2F9 #FDE2F9

Accessibility & contrast

On white

1.66
#FAB2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#FAB2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAB2EF
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAB2EF#FFFFFF#000000##000000
##FAB2EF1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1C3F1
Deuteranopia (green-blind)
#C2CDED
Tritanopia (blue-blind)
#FFB6C8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #fab2ef;
/* rgb */ color: rgb(250, 178, 239);
/* oklch */ color: oklch(85.0% 0.114 332.0);
Tailwind
colors: {
  custom: {
    50: '#fdcaf4',
    500: '#fab2ef',
    950: '#000000',
  },
}
SCSS
$custom: #fab2ef;
$custom-light: #fdcaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#fab2ef",
  "rgb": {
    "r": 250,
    "g": 178,
    "b": 239
  },
  "hsl": {
    "h": 309.167,
    "s": 87.805,
    "l": 83.922
  },
  "oklch": {
    "l": 0.84985,
    "c": 0.114,
    "h": 332
  },
  "luminance": 0.58397
}

Semantic roles & 50–950 ramp

primary
#FAB2EF
secondary
#73DE83
accent
#E42401
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181317
muted
#868285

Preview Lab

Preview with #FAB2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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