#F2AFEE#F2AFEE

#F2AFEE is a very light, moderate purple. Relative luminance 0.557; OKLCH L 83.6% C 0.112 H 328.5°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#F2AFEE
RGBrgb(242, 175, 238)
HSLhsl(304, 72%, 82%)
HSVhsv(304, 28%, 95%)
CMYKcmyk(0%, 27.7%, 1.7%, 5.1%)
CIE-LABlab(79.45, 34.40, -21.78)
CIE-LCHlch(79.45, 40.72, 327.66°)
OKLaboklab(83.64% 0.0959 -0.0587)
OKLCHoklch(83.64% 0.112 328.5)
XYZxyz(67.3792, 55.7125, 88.0766)
Luminance0.5571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2AFEE #AFF2B3
analogous
#D5AFF2 #F2AFEE #F2AFCD
triadic
#F2AFEE #EEF2AF #AFEEF2
tetradic
#F2AFEE #F2D5AF #AFF2B3 #AFCDF2
square
#F2AFEE #F2D5AF #AFF2B3 #AFCDF2
split-complementary
#F2AFEE #CDF2AF #AFF2D5
monochromatic
#E146D8 #E97AE3 #F2AFEE #FBE4F9 #FBE5F9

Accessibility & contrast

On white

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

On black

12.14
#F2AFEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2AFEE
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2AFEE#FFFFFF#000000##000000
##F2AFEE1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACBFF0
Deuteranopia (green-blind)
#BCC8EC
Tritanopia (blue-blind)
#F7B4C5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #f2afee;
/* rgb */ color: rgb(242, 175, 238);
/* oklch */ color: oklch(83.6% 0.112 328.5);
Tailwind
colors: {
  custom: {
    50: '#f7c7f3',
    500: '#f2afee',
    950: '#000000',
  },
}
SCSS
$custom: #f2afee;
$custom-light: #f7c7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2afee",
  "rgb": {
    "r": 242,
    "g": 175,
    "b": 238
  },
  "hsl": {
    "h": 303.582,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.83638,
    "c": 0.11248,
    "h": 328.5
  },
  "luminance": 0.5571
}

Semantic roles & 50–950 ramp

primary
#F2AFEE
secondary
#74D17A
accent
#D41D11
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171317
muted
#858285

Preview Lab

Preview with #F2AFEE

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

Preview Lab → · Contrast checker → · Palette generator →

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