#B45BC1#B45BC1

#B45BC1 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.6% C 0.173 H 322.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B45BC1
RGBrgb(180, 91, 193)
HSLhsl(292, 45%, 56%)
HSVhsv(292, 53%, 76%)
CMYKcmyk(6.7%, 52.8%, 0%, 24.3%)
CIE-LABlab(52.99, 51.14, -38.19)
CIE-LCHlch(52.99, 63.83, 323.25°)
OKLaboklab(61.61% 0.1371 -0.1056)
OKLCHoklch(61.61% 0.173 322.4)
XYZxyz(32.1881, 21.0372, 52.8068)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BC1 #68C15B
analogous
#815BC1 #B45BC1 #C15B9B
triadic
#B45BC1 #C1B45B #5BC1B4
tetradic
#B45BC1 #C1815B #68C15B #5B9BC1
square
#B45BC1 #C1815B #68C15B #5B9BC1
split-complementary
#B45BC1 #9BC15B #5BC181
monochromatic
#6C2C75 #953DA2 #B45BC1 #C887D2 #DDB4E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45BC1#FFFFFF#000000##000000
##B45BC11.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)
#4B78C4
Deuteranopia (green-blind)
#6782BE
Tritanopia (blue-blind)
#B66986
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45bc1;
/* rgb */ color: rgb(180, 91, 193);
/* oklch */ color: oklch(61.6% 0.173 322.4);
Tailwind
colors: {
  custom: {
    50: '#cd8dd4',
    500: '#b45bc1',
    950: '#000000',
  },
}
SCSS
$custom: #b45bc1;
$custom-light: #cd8dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bc1",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 193
  },
  "hsl": {
    "h": 292.353,
    "s": 45.133,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61613,
    "c": 0.1731,
    "h": 322.4
  },
  "luminance": 0.21036
}

Semantic roles & 50–950 ramp

primary
#B45BC1
secondary
#ACD1A7
accent
#D55364
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B45BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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