#B45FB1#B45FB1

#B45FB1 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.4% C 0.151 H 328.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B45FB1
RGBrgb(180, 95, 177)
HSLhsl(302, 36%, 54%)
HSVhsv(302, 47%, 71%)
CMYKcmyk(0%, 47.2%, 1.7%, 29.4%)
CIE-LABlab(53.02, 46.12, -28.90)
CIE-LCHlch(53.02, 54.43, 327.93°)
OKLaboklab(61.39% 0.1291 -0.079)
OKLCHoklch(61.39% 0.151 328.5)
XYZxyz(30.8500, 21.0637, 44.0272)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FB1 #5FB462
analogous
#8D5FB4 #B45FB1 #B45F87
triadic
#B45FB1 #B1B45F #5FB1B4
tetradic
#B45FB1 #B48D5F #5FB462 #5F87B4
square
#B45FB1 #B48D5F #5FB462 #5F87B4
split-complementary
#B45FB1 #87B45F #5FB48D
monochromatic
#683166 #92448F #B45FB1 #C889C5 #DBB2DA

Accessibility & contrast

On white

4.03
#B45FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B45FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FB1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FB1#FFFFFF#000000##000000
##B45FB11.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5977B4
Deuteranopia (green-blind)
#7183AE
Tritanopia (blue-blind)
#B96780
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b45fb1;
/* rgb */ color: rgb(180, 95, 177);
/* oklch */ color: oklch(61.4% 0.151 328.5);
Tailwind
colors: {
  custom: {
    50: '#cc8fc8',
    500: '#b45fb1',
    950: '#000000',
  },
}
SCSS
$custom: #b45fb1;
$custom-light: #cc8fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fb1",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 302.118,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61393,
    "c": 0.15132,
    "h": 328.5
  },
  "luminance": 0.21062
}

Semantic roles & 50–950 ramp

primary
#B45FB1
secondary
#A5CAA7
accent
#CC605C
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#140D13
muted
#827E82

Preview Lab

Preview with #B45FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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