#B45EA8#B45EA8

#B45EA8 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.8% C 0.145 H 332.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B45EA8
RGBrgb(180, 94, 168)
HSLhsl(308, 36%, 54%)
HSVhsv(308, 48%, 71%)
CMYKcmyk(0%, 47.8%, 6.7%, 29.4%)
CIE-LABlab(52.44, 45.03, -24.55)
CIE-LCHlch(52.44, 51.29, 331.40°)
OKLaboklab(60.84% 0.1287 -0.0666)
OKLCHoklch(60.84% 0.145 332.6)
XYZxyz(29.8928, 20.5377, 39.4279)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EA8 #5EB46A
analogous
#955EB4 #B45EA8 #B45E7D
triadic
#B45EA8 #A8B45E #5EA8B4
tetradic
#B45EA8 #B4955E #5EB46A #5E7DB4
square
#B45EA8 #B4955E #5EB46A #5E7DB4
split-complementary
#B45EA8 #7DB45E #5EB495
monochromatic
#673060 #914486 #B45EA8 #C788BF #DBB1D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45EA8#FFFFFF#000000##000000
##B45EA81.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)
#5C75AB
Deuteranopia (green-blind)
#7482A6
Tritanopia (blue-blind)
#BB647B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45ea8;
/* rgb */ color: rgb(180, 94, 168);
/* oklch */ color: oklch(60.8% 0.145 332.6);
Tailwind
colors: {
  custom: {
    50: '#cc8ec2',
    500: '#b45ea8',
    950: '#000000',
  },
}
SCSS
$custom: #b45ea8;
$custom-light: #cc8ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ea8",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 308.372,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60837,
    "c": 0.14493,
    "h": 332.6
  },
  "luminance": 0.20536
}

Semantic roles & 50–950 ramp

primary
#B45EA8
secondary
#A5C9AA
accent
#CC6B5B
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B45EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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