#F7ABFA#F7ABFA

#F7ABFA is a very light, vivid purple. Relative luminance 0.558; OKLCH L 83.9% C 0.134 H 325.4°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#F7ABFA
RGBrgb(247, 171, 250)
HSLhsl(298, 89%, 83%)
HSVhsv(298, 32%, 98%)
CMYKcmyk(1.2%, 31.6%, 0%, 2%)
CIE-LABlab(79.50, 40.26, -28.11)
CIE-LCHlch(79.50, 49.10, 325.07°)
OKLaboklab(83.93% 0.1106 -0.0763)
OKLCHoklch(83.93% 0.134 325.4)
XYZxyz(70.1743, 55.8045, 97.4988)
Luminance0.5580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7ABFA #AEFAAB
analogous
#D0ABFA #F7ABFA #FAABD5
triadic
#F7ABFA #FAF7AB #ABFAF7
tetradic
#F7ABFA #FAD0AB #AEFAAB #ABD5FA
square
#F7ABFA #FAD0AB #AEFAAB #ABD5FA
split-complementary
#F7ABFA #D5FAAB #ABFAD0
monochromatic
#EC37F3 #F171F7 #F7ABFA #FCE2FD #FCE2FD

Accessibility & contrast

On white

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

On black

12.16
#F7ABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7ABFA
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7ABFA#FFFFFF#000000##000000
##F7ABFA1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BFFD
Deuteranopia (green-blind)
#B7C8F7
Tritanopia (blue-blind)
#FBB2C8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #f7abfa;
/* rgb */ color: rgb(247, 171, 250);
/* oklch */ color: oklch(83.9% 0.134 325.4);
Tailwind
colors: {
  custom: {
    50: '#fbc5fc',
    500: '#f7abfa',
    950: '#000000',
  },
}
SCSS
$custom: #f7abfa;
$custom-light: #fbc5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f7abfa",
  "rgb": {
    "r": 247,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 297.722,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.83931,
    "c": 0.13441,
    "h": 325.4
  },
  "luminance": 0.55802
}

Semantic roles & 50–950 ramp

primary
#F7ABFA
secondary
#71DD6C
accent
#E50009
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #F7ABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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