#B45ABC#B45ABC

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

Color values

HEX#B45ABC
RGBrgb(180, 90, 188)
HSLhsl(295, 42%, 55%)
HSVhsv(295, 52%, 74%)
CMYKcmyk(4.3%, 52.1%, 0%, 26.3%)
CIE-LABlab(52.56, 50.69, -35.98)
CIE-LCHlch(52.56, 62.16, 324.63°)
OKLaboklab(61.22% 0.1379 -0.0993)
OKLCHoklch(61.22% 0.17 324.2)
XYZxyz(31.5548, 20.6480, 49.8906)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45ABC #62BC5A
analogous
#835ABC #B45ABC #BC5A93
triadic
#B45ABC #BCB45A #5ABCB4
tetradic
#B45ABC #BC835A #62BC5A #5A93BC
square
#B45ABC #BC835A #62BC5A #5A93BC
split-complementary
#B45ABC #93BC5A #5ABC83
monochromatic
#692D6F #933F9A #B45ABC #C886CE #DCB1DF

Accessibility & contrast

On white

4.09
#B45ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B45ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45ABC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45ABC#FFFFFF#000000##000000
##B45ABC1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BF
Deuteranopia (green-blind)
#6981B9
Tritanopia (blue-blind)
#B76683
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45abc;
/* rgb */ color: rgb(180, 90, 188);
/* oklch */ color: oklch(61.2% 0.170 324.2);
Tailwind
colors: {
  custom: {
    50: '#cd8cd0',
    500: '#b45abc',
    950: '#000000',
  },
}
SCSS
$custom: #b45abc;
$custom-light: #cd8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45abc",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 295.102,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61219,
    "c": 0.16989,
    "h": 324.2
  },
  "luminance": 0.20646
}

Semantic roles & 50–950 ramp

primary
#B45ABC
secondary
#A8CEA4
accent
#D25660
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B45ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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