#B45BB2#B45BB2

#B45BB2 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.9% C 0.159 H 328.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B45BB2
RGBrgb(180, 91, 178)
HSLhsl(301, 37%, 53%)
HSVhsv(301, 49%, 71%)
CMYKcmyk(0%, 49.4%, 1.1%, 29.4%)
CIE-LABlab(52.29, 48.34, -30.61)
CIE-LCHlch(52.29, 57.22, 327.65°)
OKLaboklab(60.87% 0.135 -0.0839)
OKLCHoklch(60.87% 0.159 328.1)
XYZxyz(30.5989, 20.4015, 44.4370)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BB2 #5BB45D
analogous
#895BB4 #B45BB2 #B45B85
triadic
#B45BB2 #B2B45B #5BB2B4
tetradic
#B45BB2 #B4895B #5BB45D #5B85B4
square
#B45BB2 #B4895B #5BB45D #5B85B4
split-complementary
#B45BB2 #85B45B #5BB489
monochromatic
#662F65 #90428E #B45BB2 #C785C6 #DAAFD9

Accessibility & contrast

On white

4.13
#B45BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B45BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BB2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BB2#FFFFFF#000000##000000
##B45BB21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#6E81AF
Tritanopia (blue-blind)
#B9647E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45bb2;
/* rgb */ color: rgb(180, 91, 178);
/* oklch */ color: oklch(60.9% 0.159 328.1);
Tailwind
colors: {
  custom: {
    50: '#cc8dc9',
    500: '#b45bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b45bb2;
$custom-light: #cc8dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bb2",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 301.348,
    "s": 37.238,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.15891,
    "h": 328.1
  },
  "luminance": 0.204
}

Semantic roles & 50–950 ramp

primary
#B45BB2
secondary
#A2C9A3
accent
#CD5D5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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