#B45ABB#B45ABB

#B45ABB is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.2% C 0.169 H 324.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B45ABB
RGBrgb(180, 90, 187)
HSLhsl(296, 42%, 54%)
HSVhsv(296, 52%, 73%)
CMYKcmyk(3.7%, 51.9%, 0%, 26.7%)
CIE-LABlab(52.51, 50.50, -35.47)
CIE-LCHlch(52.51, 61.71, 324.91°)
OKLaboklab(61.17% 0.1377 -0.0978)
OKLCHoklch(61.17% 0.169 324.6)
XYZxyz(31.4474, 20.6051, 49.3248)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45ABB #61BB5A
analogous
#845ABB #B45ABB #BB5A92
triadic
#B45ABB #BBB45A #5ABBB4
tetradic
#B45ABB #BB845A #61BB5A #5A92BB
square
#B45ABB #BB845A #61BB5A #5A92BB
split-complementary
#B45ABB #92BB5A #5ABB84
monochromatic
#692D6D #923F99 #B45ABB #C885CD #DBB1DF

Accessibility & contrast

On white

4.10
#B45ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B45ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45ABB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45ABB#FFFFFF#000000##000000
##B45ABB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BE
Deuteranopia (green-blind)
#6981B8
Tritanopia (blue-blind)
#B76682
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45abb;
/* rgb */ color: rgb(180, 90, 187);
/* oklch */ color: oklch(61.2% 0.169 324.6);
Tailwind
colors: {
  custom: {
    50: '#cd8cd0',
    500: '#b45abb',
    950: '#000000',
  },
}
SCSS
$custom: #b45abb;
$custom-light: #cd8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45abb",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 295.67,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61168,
    "c": 0.16894,
    "h": 324.6
  },
  "luminance": 0.20603
}

Semantic roles & 50–950 ramp

primary
#B45ABB
secondary
#A7CDA4
accent
#D1565F
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B45ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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