#B45EB3#B45EB3

#B45EB3 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.3% C 0.155 H 327.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B45EB3
RGBrgb(180, 94, 179)
HSLhsl(301, 36%, 54%)
HSVhsv(301, 48%, 71%)
CMYKcmyk(0%, 47.8%, 0.6%, 29.4%)
CIE-LABlab(52.91, 47.00, -30.22)
CIE-LCHlch(52.91, 55.88, 327.26°)
OKLaboklab(61.34% 0.1309 -0.0828)
OKLCHoklch(61.34% 0.155 327.7)
XYZxyz(30.9613, 20.9650, 45.0549)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EB3 #5EB45F
analogous
#8A5EB4 #B45EB3 #B45E88
triadic
#B45EB3 #B3B45E #5EB3B4
tetradic
#B45EB3 #B48A5E #5EB45F #5E88B4
square
#B45EB3 #B48A5E #5EB45F #5E88B4
split-complementary
#B45EB3 #88B45E #5EB48A
monochromatic
#673067 #914490 #B45EB3 #C788C7 #DBB1DA

Accessibility & contrast

On white

4.04
#B45EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B45EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EB3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EB3#FFFFFF#000000##000000
##B45EB31.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B6
Deuteranopia (green-blind)
#7082B0
Tritanopia (blue-blind)
#B96780
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45eb3;
/* rgb */ color: rgb(180, 94, 179);
/* oklch */ color: oklch(61.3% 0.155 327.7);
Tailwind
colors: {
  custom: {
    50: '#cc8fca',
    500: '#b45eb3',
    950: '#000000',
  },
}
SCSS
$custom: #b45eb3;
$custom-light: #cc8fca;
$custom-dark: #000000;
JSON
{
  "hex": "#b45eb3",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 300.698,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61342,
    "c": 0.15485,
    "h": 327.7
  },
  "luminance": 0.20963
}

Semantic roles & 50–950 ramp

primary
#B45EB3
secondary
#A5C9A5
accent
#CC5D5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140D13
muted
#827D82

Preview Lab

Preview with #B45EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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