#FB5AE2#FB5AE2

#FB5AE2 is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 72.5% C 0.243 H 334.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#FB5AE2
RGBrgb(251, 90, 226)
HSLhsl(309, 95%, 67%)
HSVhsv(309, 64%, 98%)
CMYKcmyk(0%, 64.1%, 10%, 1.6%)
CIE-LABlab(64.42, 75.44, -38.26)
CIE-LCHlch(64.42, 84.58, 333.11°)
OKLaboklab(72.5% 0.219 -0.1044)
OKLCHoklch(72.5% 0.243 334.5)
XYZxyz(57.1677, 33.3172, 75.3567)
Luminance0.3331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5AE2 #5AFB73
analogous
#C45AFB #FB5AE2 #FB5A92
triadic
#FB5AE2 #E2FB5A #5AE2FB
tetradic
#FB5AE2 #FBC45A #5AFB73 #5A92FB
square
#FB5AE2 #FBC45A #5AFB73 #5A92FB
split-complementary
#FB5AE2 #92FB5A #5AFBC4
monochromatic
#D505B5 #FA1ED7 #FB5AE2 #FC96ED #FED2F7

Accessibility & contrast

On white

2.74
#FB5AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#FB5AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5AE2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5AE2#FFFFFF#000000##000000
##FB5AE21.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#588DE6
Deuteranopia (green-blind)
#8EA5DE
Tritanopia (blue-blind)
#FF6696
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #fb5ae2;
/* rgb */ color: rgb(251, 90, 226);
/* oklch */ color: oklch(72.5% 0.243 334.5);
Tailwind
colors: {
  custom: {
    50: '#ff93eb',
    500: '#fb5ae2',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ae2;
$custom-light: #ff93eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ae2",
  "rgb": {
    "r": 251,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 309.317,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.72498,
    "c": 0.24258,
    "h": 334.5
  },
  "luminance": 0.33313
}

Semantic roles & 50–950 ramp

primary
#FB5AE2
secondary
#BFF2C7
accent
#E62400
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #FB5AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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