#F8A7EB#F8A7EB

#F8A7EB is a very light, vivid purple. Relative luminance 0.536; OKLCH L 82.8% C 0.128 H 332.5°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#F8A7EB
RGBrgb(248, 167, 235)
HSLhsl(310, 85%, 81%)
HSVhsv(310, 33%, 97%)
CMYKcmyk(0%, 32.7%, 5.2%, 2.7%)
CIE-LABlab(78.22, 40.00, -21.96)
CIE-LCHlch(78.22, 45.64, 331.23°)
OKLaboklab(82.81% 0.1136 -0.0591)
OKLCHoklch(82.81% 0.128 332.5)
XYZxyz(67.5247, 53.5950, 85.3692)
Luminance0.5359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8A7EB #A7F8B4
analogous
#DDA7F8 #F8A7EB #F8A7C3
triadic
#F8A7EB #EBF8A7 #A7EBF8
tetradic
#F8A7EB #F8DDA7 #A7F8B4 #A7C3F8
square
#F8A7EB #F8DDA7 #A7F8B4 #A7C3F8
split-complementary
#F8A7EB #C3F8A7 #A7F8DD
monochromatic
#EF36D1 #F36EDE #F8A7EB #FDE0F8 #FDE3F9

Accessibility & contrast

On white

1.79
#F8A7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#F8A7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8A7EB
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8A7EB#FFFFFF#000000##000000
##F8A7EB1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BAEE
Deuteranopia (green-blind)
#B9C6E8
Tritanopia (blue-blind)
#FFABC0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #f8a7eb;
/* rgb */ color: rgb(248, 167, 235);
/* oklch */ color: oklch(82.8% 0.128 332.5);
Tailwind
colors: {
  custom: {
    50: '#fbc2f1',
    500: '#f8a7eb',
    950: '#000000',
  },
}
SCSS
$custom: #f8a7eb;
$custom-light: #fbc2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8a7eb",
  "rgb": {
    "r": 248,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 309.63,
    "s": 85.263,
    "l": 81.373
  },
  "oklch": {
    "l": 0.82812,
    "c": 0.12804,
    "h": 332.5
  },
  "luminance": 0.53592
}

Semantic roles & 50–950 ramp

primary
#F8A7EB
secondary
#6AD97C
accent
#E22704
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171216
muted
#858285

Preview Lab

Preview with #F8A7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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