#B45DB2#B45DB2

#B45DB2 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.2% C 0.156 H 328.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B45DB2
RGBrgb(180, 93, 178)
HSLhsl(301, 37%, 54%)
HSVhsv(301, 48%, 71%)
CMYKcmyk(0%, 48.3%, 1.1%, 29.4%)
CIE-LABlab(52.67, 47.33, -30.01)
CIE-LCHlch(52.67, 56.04, 327.62°)
OKLaboklab(61.15% 0.1321 -0.0822)
OKLCHoklch(61.15% 0.156 328.1)
XYZxyz(30.7722, 20.7480, 44.4948)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DB2 #5DB45F
analogous
#8A5DB4 #B45DB2 #B45D86
triadic
#B45DB2 #B2B45D #5DB2B4
tetradic
#B45DB2 #B48A5D #5DB45F #5D86B4
square
#B45DB2 #B48A5D #5DB45F #5D86B4
split-complementary
#B45DB2 #86B45D #5DB48A
monochromatic
#673066 #91438F #B45DB2 #C787C6 #DBB1DA

Accessibility & contrast

On white

4.08
#B45DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B45DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DB2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DB2#FFFFFF#000000##000000
##B45DB21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#6F82AF
Tritanopia (blue-blind)
#B9667F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45db2;
/* rgb */ color: rgb(180, 93, 178);
/* oklch */ color: oklch(61.2% 0.156 328.1);
Tailwind
colors: {
  custom: {
    50: '#cc8ec9',
    500: '#b45db2',
    950: '#000000',
  },
}
SCSS
$custom: #b45db2;
$custom-light: #cc8ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b45db2",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 301.379,
    "s": 36.709,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6115,
    "c": 0.1556,
    "h": 328.1
  },
  "luminance": 0.20746
}

Semantic roles & 50–950 ramp

primary
#B45DB2
secondary
#A4C9A5
accent
#CD5E5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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