#F5ABFE#F5ABFE

#F5ABFE is a very light, vivid purple. Relative luminance 0.557; OKLCH L 83.9% C 0.137 H 322.9°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#F5ABFE
RGBrgb(245, 171, 254)
HSLhsl(293, 98%, 83%)
HSVhsv(293, 33%, 100%)
CMYKcmyk(3.5%, 32.7%, 0%, 0.4%)
CIE-LABlab(79.44, 40.38, -30.37)
CIE-LCHlch(79.44, 50.53, 323.05°)
OKLaboklab(83.89% 0.1094 -0.0827)
OKLCHoklch(83.89% 0.137 322.9)
XYZxyz(70.1065, 55.6963, 100.8042)
Luminance0.5569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ABFE #B4FEAB
analogous
#CBABFE #F5ABFE #FEABDD
triadic
#F5ABFE #FEF5AB #ABFEF5
tetradic
#F5ABFE #FECBAB #B4FEAB #ABDDFE
square
#F5ABFE #FECBAB #B4FEAB #ABDDFE
split-complementary
#F5ABFE #DDFEAB #ABFECB
monochromatic
#E732FD #EE6FFD #F5ABFE #FBE1FF #FBE1FF

Accessibility & contrast

On white

1.73
#F5ABFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#F5ABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ABFE
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ABFE#FFFFFF#000000##000000
##F5ABFE1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BFFF
Deuteranopia (green-blind)
#B5C8FB
Tritanopia (blue-blind)
#F8B4C9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #f5abfe;
/* rgb */ color: rgb(245, 171, 254);
/* oklch */ color: oklch(83.9% 0.137 322.9);
Tailwind
colors: {
  custom: {
    50: '#f9c5ff',
    500: '#f5abfe',
    950: '#000000',
  },
}
SCSS
$custom: #f5abfe;
$custom-light: #f9c5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f5abfe",
  "rgb": {
    "r": 245,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 293.494,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.83885,
    "c": 0.13718,
    "h": 322.9
  },
  "luminance": 0.55694
}

Semantic roles & 50–950 ramp

primary
#F5ABFE
secondary
#77E36A
accent
#E60019
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171318
muted
#858286

Preview Lab

Preview with #F5ABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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