#B45BC7#B45BC7

#B45BC7 is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.9% C 0.179 H 320.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B45BC7
RGBrgb(180, 91, 199)
HSLhsl(289, 49%, 57%)
HSVhsv(289, 54%, 78%)
CMYKcmyk(9.5%, 54.3%, 0%, 22%)
CIE-LABlab(53.29, 52.31, -41.16)
CIE-LCHlch(53.29, 66.56, 321.80°)
OKLaboklab(61.93% 0.1378 -0.1143)
OKLCHoklch(61.93% 0.179 320.3)
XYZxyz(32.8710, 21.3104, 56.4036)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BC7 #6EC75B
analogous
#7E5BC7 #B45BC7 #C75BA4
triadic
#B45BC7 #C7B45B #5BC7B4
tetradic
#B45BC7 #C77E5B #6EC75B #5BA4C7
square
#B45BC7 #C77E5B #6EC75B #5BA4C7
split-complementary
#B45BC7 #A4C75B #5BC77E
monochromatic
#6E2B7D #973AAB #B45BC7 #C989D7 #DEB6E6

Accessibility & contrast

On white

3.99
#B45BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#B45BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BC7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BC7#FFFFFF#000000##000000
##B45BC71.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4779CB
Deuteranopia (green-blind)
#6483C4
Tritanopia (blue-blind)
#B56B88
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b45bc7;
/* rgb */ color: rgb(180, 91, 199);
/* oklch */ color: oklch(61.9% 0.179 320.3);
Tailwind
colors: {
  custom: {
    50: '#cd8dd8',
    500: '#b45bc7',
    950: '#000000',
  },
}
SCSS
$custom: #b45bc7;
$custom-light: #cd8dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bc7",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 289.444,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61928,
    "c": 0.17898,
    "h": 320.3
  },
  "luminance": 0.21309
}

Semantic roles & 50–950 ramp

primary
#B45BC7
secondary
#B1D5A9
accent
#D94F67
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B45BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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