#B645AB#B645AB

#B645AB is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.0% C 0.188 H 331.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B645AB
RGBrgb(182, 69, 171)
HSLhsl(306, 45%, 49%)
HSVhsv(306, 62%, 71%)
CMYKcmyk(0%, 62.1%, 6%, 28.6%)
CIE-LABlab(48.44, 57.95, -32.51)
CIE-LCHlch(48.44, 66.45, 330.71°)
OKLaboklab(57.99% 0.1656 -0.0891)
OKLCHoklch(57.99% 0.188 331.7)
XYZxyz(28.7702, 17.1437, 40.3139)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645AB #45B650
analogous
#8945B6 #B645AB #B64573
triadic
#B645AB #ABB645 #45ABB6
tetradic
#B645AB #B68945 #45B650 #4573B6
square
#B645AB #B68945 #45B650 #4573B6
split-complementary
#B645AB #73B645 #45B689
monochromatic
#5D2358 #8A3481 #B645AB #C970C0 #D99CD3

Accessibility & contrast

On white

4.74
#B645AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B645AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B645AB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645AB#FFFFFF#000000##FFFFFF
##B645AB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AE
Deuteranopia (green-blind)
#6579A8
Tritanopia (blue-blind)
#BD4F72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b645ab;
/* rgb */ color: rgb(182, 69, 171);
/* oklch */ color: oklch(58.0% 0.188 331.7);
Tailwind
colors: {
  custom: {
    50: '#cf80c4',
    500: '#b645ab',
    950: '#000000',
  },
}
SCSS
$custom: #b645ab;
$custom-light: #cf80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b645ab",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 305.841,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57992,
    "c": 0.18804,
    "h": 331.7
  },
  "luminance": 0.17142
}

Semantic roles & 50–950 ramp

primary
#B645AB
secondary
#91C696
accent
#D56053
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #B645AB

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

Preview Lab → · Contrast checker → · Palette generator →

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