#F5A1EA#F5A1EA

#F5A1EA is a light, vivid purple. Relative luminance 0.508; OKLCH L 81.5% C 0.135 H 331.5°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#F5A1EA
RGBrgb(245, 161, 234)
HSLhsl(308, 81%, 80%)
HSVhsv(308, 34%, 96%)
CMYKcmyk(0%, 34.3%, 4.5%, 3.9%)
CIE-LABlab(76.59, 42.01, -23.95)
CIE-LCHlch(76.59, 48.35, 330.31°)
OKLaboklab(81.49% 0.1189 -0.0646)
OKLCHoklch(81.49% 0.135 331.5)
XYZxyz(65.2515, 50.8456, 84.2030)
Luminance0.5084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5A1EA #A1F5AC
analogous
#D6A1F5 #F5A1EA #F5A1C0
triadic
#F5A1EA #EAF5A1 #A1EAF5
tetradic
#F5A1EA #F5D6A1 #A1F5AC #A1C0F5
square
#F5A1EA #F5D6A1 #A1F5AC #A1C0F5
split-complementary
#F5A1EA #C0F5A1 #A1F5D6
monochromatic
#E932D1 #EF6ADE #F5A1EA #FBD8F6 #FCE3F9

Accessibility & contrast

On white

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

On black

11.17
#F5A1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5A1EA
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5A1EA#FFFFFF#000000##000000
##F5A1EA1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5a1ea;
/* rgb */ color: rgb(245, 161, 234);
/* oklch */ color: oklch(81.5% 0.135 331.5);
Tailwind
colors: {
  custom: {
    50: '#f9bef1',
    500: '#f5a1ea',
    950: '#000000',
  },
}
SCSS
$custom: #f5a1ea;
$custom-light: #f9bef1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5a1ea",
  "rgb": {
    "r": 245,
    "g": 161,
    "b": 234
  },
  "hsl": {
    "h": 307.857,
    "s": 80.769,
    "l": 79.608
  },
  "oklch": {
    "l": 0.81486,
    "c": 0.13529,
    "h": 331.5
  },
  "luminance": 0.50843
}

Semantic roles & 50–950 ramp

primary
#F5A1EA
secondary
#66D474
accent
#DD2408
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#171216
muted
#858285

Preview Lab

Preview with #F5A1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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