#F2ABFF#F2ABFF

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

Color values

HEX#F2ABFF
RGBrgb(242, 171, 255)
HSLhsl(291, 100%, 84%)
HSVhsv(291, 33%, 100%)
CMYKcmyk(5.1%, 32.9%, 0%, 0%)
CIE-LABlab(79.17, 39.65, -31.35)
CIE-LCHlch(79.17, 50.55, 321.67°)
OKLaboklab(83.62% 0.1063 -0.0855)
OKLCHoklch(83.62% 0.136 321.2)
XYZxyz(69.2286, 55.2251, 101.6011)
Luminance0.5522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ABFF #B8FFAB
analogous
#C8ABFF #F2ABFF #FFABE2
triadic
#F2ABFF #FFF2AB #ABFFF2
tetradic
#F2ABFF #FFC8AB #B8FFAB #ABE2FF
square
#F2ABFF #FFC8AB #B8FFAB #ABE2FF
split-complementary
#F2ABFF #E2FFAB #ABFFC8
monochromatic
#DF31FF #E96EFF #F2ABFF #FAE0FF #FAE0FF

Accessibility & contrast

On white

1.74
#F2ABFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#F2ABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ABFF
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ABFF#FFFFFF#000000##000000
##F2ABFF1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2abff;
/* rgb */ color: rgb(242, 171, 255);
/* oklch */ color: oklch(83.6% 0.136 321.2);
Tailwind
colors: {
  custom: {
    50: '#f7c5ff',
    500: '#f2abff',
    950: '#000000',
  },
}
SCSS
$custom: #f2abff;
$custom-light: #f7c5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f2abff",
  "rgb": {
    "r": 242,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 290.714,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.83623,
    "c": 0.13646,
    "h": 321.2
  },
  "luminance": 0.55223
}

Semantic roles & 50–950 ramp

primary
#F2ABFF
secondary
#7DE56A
accent
#E60024
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171318
muted
#858286

Preview Lab

Preview with #F2ABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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