#FAB2FF#FAB2FF

#FAB2FF is a very light, vivid purple. Relative luminance 0.594; OKLCH L 85.6% C 0.129 H 324.4°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#FAB2FF
RGBrgb(250, 178, 255)
HSLhsl(296, 100%, 85%)
HSVhsv(296, 30%, 100%)
CMYKcmyk(2%, 30.2%, 0%, 0%)
CIE-LABlab(81.50, 38.44, -27.70)
CIE-LCHlch(81.50, 47.38, 324.22°)
OKLaboklab(85.58% 0.1051 -0.0752)
OKLCHoklch(85.58% 0.129 324.4)
XYZxyz(73.3928, 59.3871, 102.1851)
Luminance0.5938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAB2FF #B7FFB2
analogous
#D4B2FF #FAB2FF #FFB2DD
triadic
#FAB2FF #FFFAB2 #B2FFFA
tetradic
#FAB2FF #FFD4B2 #B7FFB2 #B2DDFF
square
#FAB2FF #FFD4B2 #B7FFB2 #B2DDFF
split-complementary
#FAB2FF #DDFFB2 #B2FFD4
monochromatic
#F238FF #F675FF #FAB2FF #FDE0FF #FDE0FF

Accessibility & contrast

On white

1.63
#FAB2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#FAB2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAB2FF
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAB2FF#FFFFFF#000000##000000
##FAB2FF1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABC5FF
Deuteranopia (green-blind)
#BDCEFC
Tritanopia (blue-blind)
#FEB9CE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #fab2ff;
/* rgb */ color: rgb(250, 178, 255);
/* oklch */ color: oklch(85.6% 0.129 324.4);
Tailwind
colors: {
  custom: {
    50: '#fdcaff',
    500: '#fab2ff',
    950: '#000000',
  },
}
SCSS
$custom: #fab2ff;
$custom-light: #fdcaff;
$custom-dark: #000000;
JSON
{
  "hex": "#fab2ff",
  "rgb": {
    "r": 250,
    "g": 178,
    "b": 255
  },
  "hsl": {
    "h": 296.104,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.85578,
    "c": 0.12922,
    "h": 324.4
  },
  "luminance": 0.59385
}

Semantic roles & 50–950 ramp

primary
#FAB2FF
secondary
#77E670
accent
#E6000F
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181318
muted
#868286

Preview Lab

Preview with #FAB2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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