#B45BBE#B45BBE

#B45BBE is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.5% C 0.170 H 323.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B45BBE
RGBrgb(180, 91, 190)
HSLhsl(294, 43%, 55%)
HSVhsv(294, 52%, 75%)
CMYKcmyk(5.3%, 52.1%, 0%, 25.5%)
CIE-LABlab(52.84, 50.57, -36.69)
CIE-LCHlch(52.84, 62.48, 324.04°)
OKLaboklab(61.46% 0.1368 -0.1013)
OKLCHoklch(61.46% 0.17 323.5)
XYZxyz(31.8568, 20.9047, 51.0622)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BBE #65BE5B
analogous
#825BBE #B45BBE #BE5B97
triadic
#B45BBE #BEB45B #5BBEB4
tetradic
#B45BBE #BE825B #65BE5B #5B97BE
square
#B45BBE #BE825B #65BE5B #5B97BE
split-complementary
#B45BBE #97BE5B #5BBE82
monochromatic
#6B2D72 #943E9D #B45BBE #C887CF #DCB3E1

Accessibility & contrast

On white

4.05
#B45BBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B45BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BBE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BBE#FFFFFF#000000##000000
##B45BBE1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C1
Deuteranopia (green-blind)
#6982BB
Tritanopia (blue-blind)
#B76884
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45bbe;
/* rgb */ color: rgb(180, 91, 190);
/* oklch */ color: oklch(61.5% 0.170 323.5);
Tailwind
colors: {
  custom: {
    50: '#cd8dd2',
    500: '#b45bbe',
    950: '#000000',
  },
}
SCSS
$custom: #b45bbe;
$custom-light: #cd8dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bbe",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 293.939,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61459,
    "c": 0.1702,
    "h": 323.5
  },
  "luminance": 0.20903
}

Semantic roles & 50–950 ramp

primary
#B45BBE
secondary
#AACFA6
accent
#D35562
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B45BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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