#F8A7EF#F8A7EF

#F8A7EF is a very light, vivid purple. Relative luminance 0.538; OKLCH L 83.0% C 0.132 H 330.6°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#F8A7EF
RGBrgb(248, 167, 239)
HSLhsl(307, 85%, 81%)
HSVhsv(307, 33%, 97%)
CMYKcmyk(0%, 32.7%, 3.6%, 2.7%)
CIE-LABlab(78.36, 40.70, -23.92)
CIE-LCHlch(78.36, 47.21, 329.56°)
OKLaboklab(82.96% 0.1147 -0.0645)
OKLCHoklch(82.96% 0.132 330.6)
XYZxyz(68.1091, 53.8287, 88.4470)
Luminance0.5383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8A7EF #A7F8B0
analogous
#D9A7F8 #F8A7EF #F8A7C7
triadic
#F8A7EF #EFF8A7 #A7EFF8
tetradic
#F8A7EF #F8D9A7 #A7F8B0 #A7C7F8
square
#F8A7EF #F8D9A7 #A7F8B0 #A7C7F8
split-complementary
#F8A7EF #C7F8A7 #A7F8D9
monochromatic
#EF36DA #F36EE5 #F8A7EF #FDE0F9 #FDE3FA

Accessibility & contrast

On white

1.78
#F8A7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#F8A7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8A7EF
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8A7EF#FFFFFF#000000##000000
##F8A7EF1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BBF2
Deuteranopia (green-blind)
#B8C6EC
Tritanopia (blue-blind)
#FEACC1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #f8a7ef;
/* rgb */ color: rgb(248, 167, 239);
/* oklch */ color: oklch(83.0% 0.132 330.6);
Tailwind
colors: {
  custom: {
    50: '#fbc2f4',
    500: '#f8a7ef',
    950: '#000000',
  },
}
SCSS
$custom: #f8a7ef;
$custom-light: #fbc2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8a7ef",
  "rgb": {
    "r": 248,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 306.667,
    "s": 85.263,
    "l": 81.373
  },
  "oklch": {
    "l": 0.82961,
    "c": 0.1316,
    "h": 330.6
  },
  "luminance": 0.53826
}

Semantic roles & 50–950 ramp

primary
#F8A7EF
secondary
#6AD976
accent
#E21C04
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181217
muted
#868285

Preview Lab

Preview with #F8A7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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