#F7AFFB#F7AFFB

#F7AFFB is a very light, vivid purple. Relative luminance 0.574; OKLCH L 84.6% C 0.129 H 324.9°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#F7AFFB
RGBrgb(247, 175, 251)
HSLhsl(297, 90%, 84%)
HSVhsv(297, 30%, 98%)
CMYKcmyk(1.6%, 30.3%, 0%, 1.6%)
CIE-LABlab(80.40, 38.34, -27.27)
CIE-LCHlch(80.40, 47.05, 324.58°)
OKLaboklab(84.63% 0.1051 -0.074)
OKLCHoklch(84.63% 0.129 324.9)
XYZxyz(71.0985, 57.4015, 98.5824)
Luminance0.5740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7AFFB #B3FBAF
analogous
#D1AFFB #F7AFFB #FBAFD9
triadic
#F7AFFB #FBF7AF #AFFBF7
tetradic
#F7AFFB #FBD1AF #B3FBAF #AFD9FB
square
#F7AFFB #FBD1AF #B3FBAF #AFD9FB
split-complementary
#F7AFFB #D9FBAF #AFFBD1
monochromatic
#EB3AF5 #F175F8 #F7AFFB #FCE2FE #FCE2FE

Accessibility & contrast

On white

1.68
#F7AFFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#F7AFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7AFFB
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7AFFB#FFFFFF#000000##000000
##F7AFFB1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9C2FE
Deuteranopia (green-blind)
#BACBF8
Tritanopia (blue-blind)
#FBB6CB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #f7affb;
/* rgb */ color: rgb(247, 175, 251);
/* oklch */ color: oklch(84.6% 0.129 324.9);
Tailwind
colors: {
  custom: {
    50: '#fbc7fc',
    500: '#f7affb',
    950: '#000000',
  },
}
SCSS
$custom: #f7affb;
$custom-light: #fbc7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f7affb",
  "rgb": {
    "r": 247,
    "g": 175,
    "b": 251
  },
  "hsl": {
    "h": 296.842,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.84628,
    "c": 0.12851,
    "h": 324.9
  },
  "luminance": 0.57399
}

Semantic roles & 50–950 ramp

primary
#F7AFFB
secondary
#75DF6F
accent
#E6000C
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #F7AFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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