#B45DB3#B45DB3

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

Color values

HEX#B45DB3
RGBrgb(180, 93, 179)
HSLhsl(301, 37%, 54%)
HSVhsv(301, 48%, 71%)
CMYKcmyk(0%, 48.3%, 0.6%, 29.4%)
CIE-LABlab(52.72, 47.51, -30.53)
CIE-LCHlch(52.72, 56.47, 327.28°)
OKLaboklab(61.2% 0.1323 -0.0836)
OKLCHoklch(61.2% 0.157 327.7)
XYZxyz(30.8729, 20.7884, 45.0255)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DB3 #5DB45E
analogous
#895DB4 #B45DB3 #B45D87
triadic
#B45DB3 #B3B45D #5DB3B4
tetradic
#B45DB3 #B4895D #5DB45E #5D87B4
square
#B45DB3 #B4895D #5DB45E #5D87B4
split-complementary
#B45DB3 #87B45D #5DB489
monochromatic
#673066 #914390 #B45DB3 #C787C7 #DBB1DA

Accessibility & contrast

On white

4.07
#B45DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B45DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DB3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DB3#FFFFFF#000000##000000
##B45DB31.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5677B6
Deuteranopia (green-blind)
#6F82B0
Tritanopia (blue-blind)
#B96680
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45db3;
/* rgb */ color: rgb(180, 93, 179);
/* oklch */ color: oklch(61.2% 0.157 327.7);
Tailwind
colors: {
  custom: {
    50: '#cc8eca',
    500: '#b45db3',
    950: '#000000',
  },
}
SCSS
$custom: #b45db3;
$custom-light: #cc8eca;
$custom-dark: #000000;
JSON
{
  "hex": "#b45db3",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 300.69,
    "s": 36.709,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61198,
    "c": 0.15652,
    "h": 327.7
  },
  "luminance": 0.20787
}

Semantic roles & 50–950 ramp

primary
#B45DB3
secondary
#A4C9A4
accent
#CD5C5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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