#B645AC#B645AC

#B645AC is a mid, vivid purple. Relative luminance 0.172; OKLCH L 58.0% C 0.189 H 331.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B645AC
RGBrgb(182, 69, 172)
HSLhsl(305, 45%, 49%)
HSVhsv(305, 62%, 71%)
CMYKcmyk(0%, 62.1%, 5.5%, 28.6%)
CIE-LABlab(48.49, 58.12, -33.02)
CIE-LCHlch(48.49, 66.85, 330.40°)
OKLaboklab(58.04% 0.1657 -0.0905)
OKLCHoklch(58.04% 0.189 331.3)
XYZxyz(28.8658, 17.1820, 40.8178)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645AC #45B64F
analogous
#8845B6 #B645AC #B64574
triadic
#B645AC #ACB645 #45ACB6
tetradic
#B645AC #B68845 #45B64F #4574B6
square
#B645AC #B68845 #45B64F #4574B6
split-complementary
#B645AC #74B645 #45B688
monochromatic
#5D2358 #8A3482 #B645AC #C970C1 #D99CD4

Accessibility & contrast

On white

4.73
#B645AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B645AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B645AC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645AC#FFFFFF#000000##FFFFFF
##B645AC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AF
Deuteranopia (green-blind)
#6579A9
Tritanopia (blue-blind)
#BD5072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b645ac;
/* rgb */ color: rgb(182, 69, 172);
/* oklch */ color: oklch(58.0% 0.189 331.3);
Tailwind
colors: {
  custom: {
    50: '#cf80c5',
    500: '#b645ac',
    950: '#000000',
  },
}
SCSS
$custom: #b645ac;
$custom-light: #cf80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b645ac",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 305.31,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.18884,
    "h": 331.3
  },
  "luminance": 0.1718
}

Semantic roles & 50–950 ramp

primary
#B645AC
secondary
#91C696
accent
#D55F53
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B645AC

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

Preview Lab → · Contrast checker → · Palette generator →

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