#F8AEFB#F8AEFB

#F8AEFB is a very light, vivid purple. Relative luminance 0.572; OKLCH L 84.6% C 0.131 H 325.3°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#F8AEFB
RGBrgb(248, 174, 251)
HSLhsl(298, 91%, 83%)
HSVhsv(298, 31%, 98%)
CMYKcmyk(1.2%, 30.7%, 0%, 1.6%)
CIE-LABlab(80.29, 39.18, -27.43)
CIE-LCHlch(80.29, 47.83, 325.00°)
OKLaboklab(84.56% 0.1076 -0.0744)
OKLCHoklch(84.56% 0.131 325.3)
XYZxyz(71.2583, 57.1960, 98.5344)
Luminance0.5719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8AEFB #B1FBAE
analogous
#D1AEFB #F8AEFB #FBAED7
triadic
#F8AEFB #FBF8AE #AEFBF8
tetradic
#F8AEFB #FBD1AE #B1FBAE #AED7FB
square
#F8AEFB #FBD1AE #B1FBAE #AED7FB
split-complementary
#F8AEFB #D7FBAE #AEFBD1
monochromatic
#EE39F5 #F374F8 #F8AEFB #FCE2FE #FCE2FE

Accessibility & contrast

On white

1.69
#F8AEFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#F8AEFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8AEFB
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8AEFB#FFFFFF#000000##000000
##F8AEFB1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C1FE
Deuteranopia (green-blind)
#BACAF8
Tritanopia (blue-blind)
#FCB5CA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #f8aefb;
/* rgb */ color: rgb(248, 174, 251);
/* oklch */ color: oklch(84.6% 0.131 325.3);
Tailwind
colors: {
  custom: {
    50: '#fbc7fc',
    500: '#f8aefb',
    950: '#000000',
  },
}
SCSS
$custom: #f8aefb;
$custom-light: #fbc7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f8aefb",
  "rgb": {
    "r": 248,
    "g": 174,
    "b": 251
  },
  "hsl": {
    "h": 297.662,
    "s": 90.588,
    "l": 83.333
  },
  "oklch": {
    "l": 0.84563,
    "c": 0.13086,
    "h": 325.3
  },
  "luminance": 0.57194
}

Semantic roles & 50–950 ramp

primary
#F8AEFB
secondary
#73DF6F
accent
#E60009
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171317
muted
#858285

Preview Lab

Preview with #F8AEFB

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

Preview Lab → · Contrast checker → · Palette generator →

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