#F2ABFE#F2ABFE

#F2ABFE is a very light, vivid purple. Relative luminance 0.552; OKLCH L 83.6% C 0.135 H 321.6°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#F2ABFE
RGBrgb(242, 171, 254)
HSLhsl(291, 98%, 83%)
HSVhsv(291, 33%, 100%)
CMYKcmyk(4.7%, 32.7%, 0%, 0.4%)
CIE-LABlab(79.13, 39.46, -30.87)
CIE-LCHlch(79.13, 50.10, 321.96°)
OKLaboklab(83.58% 0.1061 -0.0842)
OKLCHoklch(83.58% 0.135 321.6)
XYZxyz(69.0681, 55.1609, 100.7555)
Luminance0.5516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ABFE #B7FEAB
analogous
#C8ABFE #F2ABFE #FEABE0
triadic
#F2ABFE #FEF2AB #ABFEF2
tetradic
#F2ABFE #FEC8AB #B7FEAB #ABE0FE
square
#F2ABFE #FEC8AB #B7FEAB #ABE0FE
split-complementary
#F2ABFE #E0FEAB #ABFEC8
monochromatic
#DF32FD #E96FFD #F2ABFE #FAE1FF #FAE1FF

Accessibility & contrast

On white

1.75
#F2ABFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#F2ABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ABFE
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ABFE#FFFFFF#000000##000000
##F2ABFE1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BFFF
Deuteranopia (green-blind)
#B3C7FB
Tritanopia (blue-blind)
#F4B4C9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #f2abfe;
/* rgb */ color: rgb(242, 171, 254);
/* oklch */ color: oklch(83.6% 0.135 321.6);
Tailwind
colors: {
  custom: {
    50: '#f7c5ff',
    500: '#f2abfe',
    950: '#000000',
  },
}
SCSS
$custom: #f2abfe;
$custom-light: #f7c5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2abfe",
  "rgb": {
    "r": 242,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 291.325,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.83583,
    "c": 0.13542,
    "h": 321.6
  },
  "luminance": 0.55159
}

Semantic roles & 50–950 ramp

primary
#F2ABFE
secondary
#7CE36A
accent
#E60021
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171318
muted
#858286

Preview Lab

Preview with #F2ABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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