#F8AEF2#F8AEF2

#F8AEF2 is a very light, vivid purple. Relative luminance 0.566; OKLCH L 84.2% C 0.122 H 329.4°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#F8AEF2
RGBrgb(248, 174, 242)
HSLhsl(305, 84%, 83%)
HSVhsv(305, 30%, 97%)
CMYKcmyk(0%, 29.8%, 2.4%, 2.7%)
CIE-LABlab(79.98, 37.56, -23.08)
CIE-LCHlch(79.98, 44.09, 328.44°)
OKLaboklab(84.22% 0.1052 -0.0622)
OKLCHoklch(84.22% 0.122 329.4)
XYZxyz(69.8732, 56.6420, 91.2396)
Luminance0.5664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8AEF2 #AEF8B4
analogous
#D9AEF8 #F8AEF2 #F8AECD
triadic
#F8AEF2 #F2F8AE #AEF2F8
tetradic
#F8AEF2 #F8D9AE #AEF8B4 #AECDF8
square
#F8AEF2 #F8D9AE #AEF8B4 #AECDF8
split-complementary
#F8AEF2 #CDF8AE #AEF8D9
monochromatic
#EE3DE0 #F376E9 #F8AEF2 #FDE3FA #FDE3FA

Accessibility & contrast

On white

1.70
#F8AEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#F8AEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8AEF2
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8AEF2#FFFFFF#000000##000000
##F8AEF21.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABC0F5
Deuteranopia (green-blind)
#BDCAF0
Tritanopia (blue-blind)
#FEB3C6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #f8aef2;
/* rgb */ color: rgb(248, 174, 242);
/* oklch */ color: oklch(84.2% 0.122 329.4);
Tailwind
colors: {
  custom: {
    50: '#fbc7f6',
    500: '#f8aef2',
    950: '#000000',
  },
}
SCSS
$custom: #f8aef2;
$custom-light: #fbc7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8aef2",
  "rgb": {
    "r": 248,
    "g": 174,
    "b": 242
  },
  "hsl": {
    "h": 304.865,
    "s": 84.091,
    "l": 82.745
  },
  "oklch": {
    "l": 0.84223,
    "c": 0.12224,
    "h": 329.4
  },
  "luminance": 0.56639
}

Semantic roles & 50–950 ramp

primary
#F8AEF2
secondary
#70DA79
accent
#E11705
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171317
muted
#858285

Preview Lab

Preview with #F8AEF2

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

Preview Lab → · Contrast checker → · Palette generator →

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