#B645BC#B645BC

#B645BC is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.9% C 0.202 H 325.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B645BC
RGBrgb(182, 69, 188)
HSLhsl(297, 47%, 50%)
HSVhsv(297, 63%, 74%)
CMYKcmyk(3.2%, 63.3%, 0%, 26.3%)
CIE-LABlab(49.29, 60.86, -41.11)
CIE-LCHlch(49.29, 73.44, 325.96°)
OKLaboklab(58.89% 0.1669 -0.1139)
OKLCHoklch(58.89% 0.202 325.7)
XYZxyz(30.4960, 17.8340, 49.4032)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645BC #4BBC45
analogous
#7A45BC #B645BC #BC4586
triadic
#B645BC #BCB645 #45BCB6
tetradic
#B645BC #BC7A45 #4BBC45 #4586BC
square
#B645BC #BC7A45 #4BBC45 #4586BC
split-complementary
#B645BC #86BC45 #45BC7A
monochromatic
#602463 #8B3490 #B645BC #C872CC #D99FDC

Accessibility & contrast

On white

4.60
#B645BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B645BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B645BC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645BC#FFFFFF#000000##FFFFFF
##B645BC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CC0
Deuteranopia (green-blind)
#5D7AB9
Tritanopia (blue-blind)
#BA567A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b645bc;
/* rgb */ color: rgb(182, 69, 188);
/* oklch */ color: oklch(58.9% 0.202 325.7);
Tailwind
colors: {
  custom: {
    50: '#cf81d0',
    500: '#b645bc',
    950: '#000000',
  },
}
SCSS
$custom: #b645bc;
$custom-light: #cf81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b645bc",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 296.975,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58889,
    "c": 0.2021,
    "h": 325.7
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#B645BC
secondary
#97C994
accent
#D75158
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B645BC

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

Preview Lab → · Contrast checker → · Palette generator →

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