#B45BC5#B45BC5

#B45BC5 is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.8% C 0.177 H 321.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B45BC5
RGBrgb(180, 91, 197)
HSLhsl(290, 48%, 56%)
HSVhsv(290, 54%, 77%)
CMYKcmyk(8.6%, 53.8%, 0%, 22.7%)
CIE-LABlab(53.19, 51.92, -40.17)
CIE-LCHlch(53.19, 65.65, 322.27°)
OKLaboklab(61.82% 0.1376 -0.1114)
OKLCHoklch(61.82% 0.177 321)
XYZxyz(32.6404, 21.2181, 55.1887)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BC5 #6CC55B
analogous
#7F5BC5 #B45BC5 #C55BA1
triadic
#B45BC5 #C5B45B #5BC5B4
tetradic
#B45BC5 #C57F5B #6CC55B #5BA1C5
square
#B45BC5 #C57F5B #6CC55B #5BA1C5
split-complementary
#B45BC5 #A1C55B #5BC57F
monochromatic
#6E2B7A #963BA8 #B45BC5 #C988D5 #DDB5E5

Accessibility & contrast

On white

4.01
#B45BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B45BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BC5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BC5#FFFFFF#000000##000000
##B45BC51.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4879C8
Deuteranopia (green-blind)
#6582C2
Tritanopia (blue-blind)
#B66A87
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b45bc5;
/* rgb */ color: rgb(180, 91, 197);
/* oklch */ color: oklch(61.8% 0.177 321.0);
Tailwind
colors: {
  custom: {
    50: '#cd8dd7',
    500: '#b45bc5',
    950: '#000000',
  },
}
SCSS
$custom: #b45bc5;
$custom-light: #cd8dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bc5",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 290.377,
    "s": 47.748,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61822,
    "c": 0.177,
    "h": 321
  },
  "luminance": 0.21217
}

Semantic roles & 50–950 ramp

primary
#B45BC5
secondary
#AFD4A8
accent
#D75066
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B45BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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