#F0ABFE#F0ABFE

#F0ABFE is a very light, vivid purple. Relative luminance 0.548; OKLCH L 83.4% C 0.134 H 320.7°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#F0ABFE
RGBrgb(240, 171, 254)
HSLhsl(290, 98%, 83%)
HSVhsv(290, 33%, 100%)
CMYKcmyk(5.5%, 32.7%, 0%, 0.4%)
CIE-LABlab(78.93, 38.85, -31.20)
CIE-LCHlch(78.93, 49.83, 321.23°)
OKLaboklab(83.38% 0.1039 -0.0851)
OKLCHoklch(83.38% 0.134 320.7)
XYZxyz(68.3852, 54.8088, 100.7235)
Luminance0.5481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0ABFE #B9FEAB
analogous
#C6ABFE #F0ABFE #FEABE2
triadic
#F0ABFE #FEF0AB #ABFEF0
tetradic
#F0ABFE #FEC6AB #B9FEAB #ABE2FE
square
#F0ABFE #FEC6AB #B9FEAB #ABE2FE
split-complementary
#F0ABFE #E2FEAB #ABFEC6
monochromatic
#DA32FD #E56FFD #F0ABFE #FAE1FF #FAE1FF

Accessibility & contrast

On white

1.76
#F0ABFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#F0ABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0ABFE
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0ABFE#FFFFFF#000000##000000
##F0ABFE1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BFFF
Deuteranopia (green-blind)
#B2C6FB
Tritanopia (blue-blind)
#F2B4C9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #f0abfe;
/* rgb */ color: rgb(240, 171, 254);
/* oklch */ color: oklch(83.4% 0.134 320.7);
Tailwind
colors: {
  custom: {
    50: '#f6c5ff',
    500: '#f0abfe',
    950: '#000000',
  },
}
SCSS
$custom: #f0abfe;
$custom-light: #f6c5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f0abfe",
  "rgb": {
    "r": 240,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 289.88,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.83383,
    "c": 0.13429,
    "h": 320.7
  },
  "luminance": 0.54807
}

Semantic roles & 50–950 ramp

primary
#F0ABFE
secondary
#7FE36A
accent
#E60027
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171318
muted
#858286

Preview Lab

Preview with #F0ABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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