#B45FB3#B45FB3

#B45FB3 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.5% C 0.153 H 327.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B45FB3
RGBrgb(180, 95, 179)
HSLhsl(301, 36%, 54%)
HSVhsv(301, 47%, 71%)
CMYKcmyk(0%, 47.2%, 0.6%, 29.4%)
CIE-LABlab(53.11, 46.49, -29.92)
CIE-LCHlch(53.11, 55.28, 327.24°)
OKLaboklab(61.49% 0.1294 -0.0819)
OKLCHoklch(61.49% 0.153 327.7)
XYZxyz(31.0508, 21.1440, 45.0848)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FB3 #5FB460
analogous
#8B5FB4 #B45FB3 #B45F89
triadic
#B45FB3 #B3B45F #5FB3B4
tetradic
#B45FB3 #B48B5F #5FB460 #5F89B4
square
#B45FB3 #B48B5F #5FB460 #5F89B4
split-complementary
#B45FB3 #89B45F #5FB48B
monochromatic
#683167 #924491 #B45FB3 #C889C7 #DBB2DB

Accessibility & contrast

On white

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

On black

5.23
#B45FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FB3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FB3#FFFFFF#000000##000000
##B45FB31.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5878B6
Deuteranopia (green-blind)
#7083B0
Tritanopia (blue-blind)
#B96881
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b45fb3;
/* rgb */ color: rgb(180, 95, 179);
/* oklch */ color: oklch(61.5% 0.153 327.7);
Tailwind
colors: {
  custom: {
    50: '#cc8fca',
    500: '#b45fb3',
    950: '#000000',
  },
}
SCSS
$custom: #b45fb3;
$custom-light: #cc8fca;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fb3",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 300.706,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61487,
    "c": 0.15318,
    "h": 327.7
  },
  "luminance": 0.21142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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