#B45ABA#B45ABA

#B45ABA is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.1% C 0.168 H 325.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B45ABA
RGBrgb(180, 90, 186)
HSLhsl(296, 41%, 54%)
HSVhsv(296, 52%, 73%)
CMYKcmyk(3.2%, 51.6%, 0%, 27.1%)
CIE-LABlab(52.47, 50.31, -34.97)
CIE-LCHlch(52.47, 61.27, 325.20°)
OKLaboklab(61.12% 0.1376 -0.0964)
OKLCHoklch(61.12% 0.168 325)
XYZxyz(31.3407, 20.5624, 48.7630)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45ABA #60BA5A
analogous
#845ABA #B45ABA #BA5A90
triadic
#B45ABA #BAB45A #5ABAB4
tetradic
#B45ABA #BA845A #60BA5A #5A90BA
square
#B45ABA #BA845A #60BA5A #5A90BA
split-complementary
#B45ABA #90BA5A #5ABA84
monochromatic
#682D6C #923F97 #B45ABA #C885CC #DBB0DE

Accessibility & contrast

On white

4.11
#B45ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B45ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45ABA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45ABA#FFFFFF#000000##000000
##B45ABA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BD
Deuteranopia (green-blind)
#6A81B7
Tritanopia (blue-blind)
#B86682
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45aba;
/* rgb */ color: rgb(180, 90, 186);
/* oklch */ color: oklch(61.1% 0.168 325.0);
Tailwind
colors: {
  custom: {
    50: '#cd8ccf',
    500: '#b45aba',
    950: '#000000',
  },
}
SCSS
$custom: #b45aba;
$custom-light: #cd8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#b45aba",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 296.25,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61118,
    "c": 0.168,
    "h": 325
  },
  "luminance": 0.20561
}

Semantic roles & 50–950 ramp

primary
#B45ABA
secondary
#A6CCA3
accent
#D1575F
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B45ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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