#B45ABE#B45ABE

#B45ABE is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.3% C 0.172 H 323.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B45ABE
RGBrgb(180, 90, 190)
HSLhsl(294, 43%, 55%)
HSVhsv(294, 53%, 75%)
CMYKcmyk(5.3%, 52.6%, 0%, 25.5%)
CIE-LABlab(52.66, 51.07, -36.98)
CIE-LCHlch(52.66, 63.05, 324.09°)
OKLaboklab(61.32% 0.1381 -0.1022)
OKLCHoklch(61.32% 0.172 323.5)
XYZxyz(31.7719, 20.7349, 51.0339)
Luminance0.2073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45ABE #64BE5A
analogous
#825ABE #B45ABE #BE5A96
triadic
#B45ABE #BEB45A #5ABEB4
tetradic
#B45ABE #BE825A #64BE5A #5A96BE
square
#B45ABE #BE825A #64BE5A #5A96BE
split-complementary
#B45ABE #96BE5A #5ABE82
monochromatic
#6A2D71 #933E9D #B45ABE #C886CF #DCB2E1

Accessibility & contrast

On white

4.08
#B45ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B45ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45ABE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45ABE#FFFFFF#000000##000000
##B45ABE1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C1
Deuteranopia (green-blind)
#6881BB
Tritanopia (blue-blind)
#B76784
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45abe;
/* rgb */ color: rgb(180, 90, 190);
/* oklch */ color: oklch(61.3% 0.172 323.5);
Tailwind
colors: {
  custom: {
    50: '#cd8cd2',
    500: '#b45abe',
    950: '#000000',
  },
}
SCSS
$custom: #b45abe;
$custom-light: #cd8cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#b45abe",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 294,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61321,
    "c": 0.1718,
    "h": 323.5
  },
  "luminance": 0.20733
}

Semantic roles & 50–950 ramp

primary
#B45ABE
secondary
#A9CFA5
accent
#D35561
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B45ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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