#F2AFFB#F2AFFB

#F2AFFB is a very light, vivid purple. Relative luminance 0.565; OKLCH L 84.1% C 0.125 H 322.5°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#F2AFFB
RGBrgb(242, 175, 251)
HSLhsl(293, 90%, 84%)
HSVhsv(293, 30%, 98%)
CMYKcmyk(3.6%, 30.3%, 0%, 1.6%)
CIE-LABlab(79.90, 36.79, -28.09)
CIE-LCHlch(79.90, 46.28, 322.64°)
OKLaboklab(84.13% 0.0995 -0.0763)
OKLCHoklch(84.13% 0.125 322.5)
XYZxyz(69.3585, 56.5042, 98.5009)
Luminance0.5650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AFFB #B8FBAF
analogous
#CCAFFB #F2AFFB #FBAFDE
triadic
#F2AFFB #FBF2AF #AFFBF2
tetradic
#F2AFFB #FBCCAF #B8FBAF #AFDEFB
square
#F2AFFB #FBCCAF #B8FBAF #AFDEFB
split-complementary
#F2AFFB #DEFBAF #AFFBCC
monochromatic
#DF3AF5 #E975F8 #F2AFFB #FAE2FE #FAE2FE

Accessibility & contrast

On white

1.71
#F2AFFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#F2AFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AFFB
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AFFB#FFFFFF#000000##000000
##F2AFFB1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7C1FE
Deuteranopia (green-blind)
#B7C9F8
Tritanopia (blue-blind)
#F5B7CA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #f2affb;
/* rgb */ color: rgb(242, 175, 251);
/* oklch */ color: oklch(84.1% 0.125 322.5);
Tailwind
colors: {
  custom: {
    50: '#f7c7fc',
    500: '#f2affb',
    950: '#000000',
  },
}
SCSS
$custom: #f2affb;
$custom-light: #f7c7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f2affb",
  "rgb": {
    "r": 242,
    "g": 175,
    "b": 251
  },
  "hsl": {
    "h": 292.895,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.84129,
    "c": 0.12544,
    "h": 322.5
  },
  "luminance": 0.56502
}

Semantic roles & 50–950 ramp

primary
#F2AFFB
secondary
#7DDF6F
accent
#E6001B
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #F2AFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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