#B45EA9#B45EA9

#B45EA9 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 60.9% C 0.146 H 332.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B45EA9
RGBrgb(180, 94, 169)
HSLhsl(308, 36%, 54%)
HSVhsv(308, 48%, 71%)
CMYKcmyk(0%, 47.8%, 6.1%, 29.4%)
CIE-LABlab(52.48, 45.20, -25.07)
CIE-LCHlch(52.48, 51.69, 330.98°)
OKLaboklab(60.88% 0.1289 -0.0681)
OKLCHoklch(60.88% 0.146 332.1)
XYZxyz(29.9864, 20.5751, 39.9204)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EA9 #5EB469
analogous
#945EB4 #B45EA9 #B45E7E
triadic
#B45EA9 #A9B45E #5EA9B4
tetradic
#B45EA9 #B4945E #5EB469 #5E7EB4
square
#B45EA9 #B4945E #5EB469 #5E7EB4
split-complementary
#B45EA9 #7EB45E #5EB494
monochromatic
#673060 #914487 #B45EA9 #C788BF #DBB1D6

Accessibility & contrast

On white

4.11
#B45EA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B45EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EA9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EA9#FFFFFF#000000##000000
##B45EA91.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C76AC
Deuteranopia (green-blind)
#7482A6
Tritanopia (blue-blind)
#BA647C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45ea9;
/* rgb */ color: rgb(180, 94, 169);
/* oklch */ color: oklch(60.9% 0.146 332.1);
Tailwind
colors: {
  custom: {
    50: '#cc8ec2',
    500: '#b45ea9',
    950: '#000000',
  },
}
SCSS
$custom: #b45ea9;
$custom-light: #cc8ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ea9",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 307.674,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60881,
    "c": 0.14581,
    "h": 332.1
  },
  "luminance": 0.20573
}

Semantic roles & 50–950 ramp

primary
#B45EA9
secondary
#A5C9A9
accent
#CC6A5B
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140D12
muted
#827D81

Preview Lab

Preview with #B45EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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