#B45EB0#B45EB0

#B45EB0 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.2% C 0.152 H 329.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B45EB0
RGBrgb(180, 94, 176)
HSLhsl(303, 36%, 54%)
HSVhsv(303, 48%, 71%)
CMYKcmyk(0%, 47.8%, 2.2%, 29.4%)
CIE-LABlab(52.78, 46.45, -28.69)
CIE-LCHlch(52.78, 54.60, 328.30°)
OKLaboklab(61.2% 0.1303 -0.0784)
OKLCHoklch(61.2% 0.152 329)
XYZxyz(30.6612, 20.8450, 43.4744)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EB0 #5EB462
analogous
#8D5EB4 #B45EB0 #B45E85
triadic
#B45EB0 #B0B45E #5EB0B4
tetradic
#B45EB0 #B48D5E #5EB462 #5E85B4
square
#B45EB0 #B48D5E #5EB462 #5E85B4
split-complementary
#B45EB0 #85B45E #5EB48D
monochromatic
#673065 #91448E #B45EB0 #C788C4 #DBB1D9

Accessibility & contrast

On white

4.06
#B45EB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B45EB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EB0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EB0#FFFFFF#000000##000000
##B45EB01.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5877B3
Deuteranopia (green-blind)
#7182AD
Tritanopia (blue-blind)
#B9667F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45eb0;
/* rgb */ color: rgb(180, 94, 176);
/* oklch */ color: oklch(61.2% 0.152 329.0);
Tailwind
colors: {
  custom: {
    50: '#cc8fc8',
    500: '#b45eb0',
    950: '#000000',
  },
}
SCSS
$custom: #b45eb0;
$custom-light: #cc8fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#b45eb0",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 302.791,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61201,
    "c": 0.15209,
    "h": 329
  },
  "luminance": 0.20843
}

Semantic roles & 50–950 ramp

primary
#B45EB0
secondary
#A5C9A6
accent
#CC615B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140D13
muted
#827D82

Preview Lab

Preview with #B45EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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