#B45FB2#B45FB2

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

Color values

HEX#B45FB2
RGBrgb(180, 95, 178)
HSLhsl(301, 36%, 54%)
HSVhsv(301, 47%, 71%)
CMYKcmyk(0%, 47.2%, 1.1%, 29.4%)
CIE-LABlab(53.06, 46.30, -29.41)
CIE-LCHlch(53.06, 54.85, 327.58°)
OKLaboklab(61.44% 0.1292 -0.0805)
OKLCHoklch(61.44% 0.152 328.1)
XYZxyz(30.9500, 21.1037, 44.5541)
Luminance0.2110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FB2 #5FB461
analogous
#8C5FB4 #B45FB2 #B45F88
triadic
#B45FB2 #B2B45F #5FB2B4
tetradic
#B45FB2 #B48C5F #5FB461 #5F88B4
square
#B45FB2 #B48C5F #5FB461 #5F88B4
split-complementary
#B45FB2 #88B45F #5FB48C
monochromatic
#683167 #924490 #B45FB2 #C889C6 #DBB2DA

Accessibility & contrast

On white

4.02
#B45FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B45FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FB2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FB2#FFFFFF#000000##000000
##B45FB21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#7183AF
Tritanopia (blue-blind)
#B96780
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b45fb2;
/* rgb */ color: rgb(180, 95, 178);
/* oklch */ color: oklch(61.4% 0.152 328.1);
Tailwind
colors: {
  custom: {
    50: '#cc8fc9',
    500: '#b45fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b45fb2;
$custom-light: #cc8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fb2",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 301.412,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6144,
    "c": 0.15224,
    "h": 328.1
  },
  "luminance": 0.21102
}

Semantic roles & 50–950 ramp

primary
#B45FB2
secondary
#A5CAA6
accent
#CC5E5C
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#140D13
muted
#827E82

Preview Lab

Preview with #B45FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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