#F5A1EB#F5A1EB

#F5A1EB is a light, vivid purple. Relative luminance 0.509; OKLCH L 81.5% C 0.136 H 331.0°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#F5A1EB
RGBrgb(245, 161, 235)
HSLhsl(307, 81%, 80%)
HSVhsv(307, 34%, 96%)
CMYKcmyk(0%, 34.3%, 4.1%, 3.9%)
CIE-LABlab(76.62, 42.18, -24.44)
CIE-LCHlch(76.62, 48.75, 329.92°)
OKLaboklab(81.52% 0.1191 -0.066)
OKLCHoklch(81.52% 0.136 331)
XYZxyz(65.3956, 50.9033, 84.9618)
Luminance0.5090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5A1EB #A1F5AB
analogous
#D5A1F5 #F5A1EB #F5A1C1
triadic
#F5A1EB #EBF5A1 #A1EBF5
tetradic
#F5A1EB #F5D5A1 #A1F5AB #A1C1F5
square
#F5A1EB #F5D5A1 #A1F5AB #A1C1F5
split-complementary
#F5A1EB #C1F5A1 #A1F5D5
monochromatic
#E932D3 #EF6ADF #F5A1EB #FBD8F7 #FCE3F9

Accessibility & contrast

On white

1.88
#F5A1EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#F5A1EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5A1EB
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5A1EB#FFFFFF#000000##000000
##F5A1EB1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB6EE
Deuteranopia (green-blind)
#B3C1E8
Tritanopia (blue-blind)
#FCA6BC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #f5a1eb;
/* rgb */ color: rgb(245, 161, 235);
/* oklch */ color: oklch(81.5% 0.136 331.0);
Tailwind
colors: {
  custom: {
    50: '#f9bef1',
    500: '#f5a1eb',
    950: '#000000',
  },
}
SCSS
$custom: #f5a1eb;
$custom-light: #f9bef1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5a1eb",
  "rgb": {
    "r": 245,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 307.143,
    "s": 80.769,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81524,
    "c": 0.13618,
    "h": 331
  },
  "luminance": 0.509
}

Semantic roles & 50–950 ramp

primary
#F5A1EB
secondary
#66D473
accent
#DD2208
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#171216
muted
#858285

Preview Lab

Preview with #F5A1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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