#B45EBD#B45EBD

#B45EBD is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.8% C 0.164 H 323.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B45EBD
RGBrgb(180, 94, 189)
HSLhsl(294, 42%, 55%)
HSVhsv(294, 50%, 74%)
CMYKcmyk(4.8%, 50.3%, 0%, 25.9%)
CIE-LABlab(53.37, 48.87, -35.29)
CIE-LCHlch(53.37, 60.28, 324.17°)
OKLaboklab(61.83% 0.1325 -0.0973)
OKLCHoklch(61.83% 0.164 323.7)
XYZxyz(32.0095, 21.3843, 50.5758)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EBD #67BD5E
analogous
#845EBD #B45EBD #BD5E96
triadic
#B45EBD #BDB45E #5EBDB4
tetradic
#B45EBD #BD845E #67BD5E #5E96BD
square
#B45EBD #BD845E #67BD5E #5E96BD
split-complementary
#B45EBD #96BD5E #5EBD84
monochromatic
#6C2F72 #95409D #B45EBD #C889CF #DCB5E1

Accessibility & contrast

On white

3.98
#B45EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B45EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EBD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EBD#FFFFFF#000000##000000
##B45EBD1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C0
Deuteranopia (green-blind)
#6B83BA
Tritanopia (blue-blind)
#B76A85
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b45ebd;
/* rgb */ color: rgb(180, 94, 189);
/* oklch */ color: oklch(61.8% 0.164 323.7);
Tailwind
colors: {
  custom: {
    50: '#cc8fd1',
    500: '#b45ebd',
    950: '#000000',
  },
}
SCSS
$custom: #b45ebd;
$custom-light: #cc8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ebd",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 294.316,
    "s": 41.85,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61829,
    "c": 0.16438,
    "h": 323.7
  },
  "luminance": 0.21383
}

Semantic roles & 50–950 ramp

primary
#B45EBD
secondary
#ABCFA8
accent
#D25662
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140D14
muted
#827D82

Preview Lab

Preview with #B45EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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