#B45BC4#B45BC4

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

Color values

HEX#B45BC4
RGBrgb(180, 91, 196)
HSLhsl(291, 47%, 56%)
HSVhsv(291, 54%, 77%)
CMYKcmyk(8.2%, 53.6%, 0%, 23.1%)
CIE-LABlab(53.14, 51.72, -39.68)
CIE-LCHlch(53.14, 65.19, 322.51°)
OKLaboklab(61.77% 0.1375 -0.11)
OKLCHoklch(61.77% 0.176 321.3)
XYZxyz(32.5262, 21.1724, 54.5872)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BC4 #6BC45B
analogous
#805BC4 #B45BC4 #C45BA0
triadic
#B45BC4 #C4B45B #5BC4B4
tetradic
#B45BC4 #C4805B #6BC45B #5BA0C4
square
#B45BC4 #C4805B #6BC45B #5BA0C4
split-complementary
#B45BC4 #A0C45B #5BC480
monochromatic
#6D2C79 #963CA6 #B45BC4 #C988D4 #DDB5E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45BC4#FFFFFF#000000##000000
##B45BC41.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4978C7
Deuteranopia (green-blind)
#6682C1
Tritanopia (blue-blind)
#B66A87
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b45bc4;
/* rgb */ color: rgb(180, 91, 196);
/* oklch */ color: oklch(61.8% 0.176 321.3);
Tailwind
colors: {
  custom: {
    50: '#cd8dd6',
    500: '#b45bc4',
    950: '#000000',
  },
}
SCSS
$custom: #b45bc4;
$custom-light: #cd8dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bc4",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 290.857,
    "s": 47.085,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61769,
    "c": 0.17603,
    "h": 321.3
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#B45BC4
secondary
#AED3A8
accent
#D75165
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B45BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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