#F5A6EB#F5A6EB

#F5A6EB is a very light, vivid purple. Relative luminance 0.527; OKLCH L 82.3% C 0.128 H 331.2°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#F5A6EB
RGBrgb(245, 166, 235)
HSLhsl(308, 80%, 81%)
HSVhsv(308, 32%, 96%)
CMYKcmyk(0%, 32.2%, 4.1%, 3.9%)
CIE-LABlab(77.69, 39.57, -22.81)
CIE-LCHlch(77.69, 45.67, 330.04°)
OKLaboklab(82.33% 0.1118 -0.0614)
OKLCHoklch(82.33% 0.128 331.2)
XYZxyz(66.2868, 52.6858, 85.2589)
Luminance0.5268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5A6EB #A6F5B0
analogous
#D7A6F5 #F5A6EB #F5A6C3
triadic
#F5A6EB #EBF5A6 #A6EBF5
tetradic
#F5A6EB #F5D7A6 #A6F5B0 #A6C3F5
square
#F5A6EB #F5D7A6 #A6F5B0 #A6C3F5
split-complementary
#F5A6EB #C3F5A6 #A6F5D7
monochromatic
#E938D2 #EF6FDF #F5A6EB #FBDDF7 #FCE3F9

Accessibility & contrast

On white

1.82
#F5A6EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#F5A6EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5A6EB
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5A6EB#FFFFFF#000000##000000
##F5A6EB1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4B9EE
Deuteranopia (green-blind)
#B7C4E8
Tritanopia (blue-blind)
#FBABBF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #f5a6eb;
/* rgb */ color: rgb(245, 166, 235);
/* oklch */ color: oklch(82.3% 0.128 331.2);
Tailwind
colors: {
  custom: {
    50: '#f9c1f1',
    500: '#f5a6eb',
    950: '#000000',
  },
}
SCSS
$custom: #f5a6eb;
$custom-light: #f9c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5a6eb",
  "rgb": {
    "r": 245,
    "g": 166,
    "b": 235
  },
  "hsl": {
    "h": 307.595,
    "s": 79.798,
    "l": 80.588
  },
  "oklch": {
    "l": 0.82334,
    "c": 0.12754,
    "h": 331.2
  },
  "luminance": 0.52683
}

Semantic roles & 50–950 ramp

primary
#F5A6EB
secondary
#6AD578
accent
#DC2409
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#171216
muted
#858285

Preview Lab

Preview with #F5A6EB

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

Preview Lab → · Contrast checker → · Palette generator →

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