#B645B3#B645B3

#B645B3 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.4% C 0.195 H 328.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B645B3
RGBrgb(182, 69, 179)
HSLhsl(302, 45%, 49%)
HSVhsv(302, 62%, 71%)
CMYKcmyk(0%, 62.1%, 1.6%, 28.6%)
CIE-LABlab(48.83, 59.30, -36.59)
CIE-LCHlch(48.83, 69.68, 328.32°)
OKLaboklab(58.4% 0.1664 -0.1008)
OKLCHoklch(58.4% 0.195 328.8)
XYZxyz(29.5559, 17.4580, 44.4521)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645B3 #45B648
analogous
#8145B6 #B645B3 #B6457B
triadic
#B645B3 #B3B645 #45B3B6
tetradic
#B645B3 #B68145 #45B648 #457BB6
square
#B645B3 #B68145 #45B648 #457BB6
split-complementary
#B645B3 #7BB645 #45B681
monochromatic
#5D235C #8A3487 #B645B3 #C970C6 #D99CD8

Accessibility & contrast

On white

4.68
#B645B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B645B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B645B3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645B3#FFFFFF#000000##FFFFFF
##B645B31.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#6179B0
Tritanopia (blue-blind)
#BC5276
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b645b3;
/* rgb */ color: rgb(182, 69, 179);
/* oklch */ color: oklch(58.4% 0.195 328.8);
Tailwind
colors: {
  custom: {
    50: '#cf80ca',
    500: '#b645b3',
    950: '#000000',
  },
}
SCSS
$custom: #b645b3;
$custom-light: #cf80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b645b3",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 301.593,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58404,
    "c": 0.19454,
    "h": 328.8
  },
  "luminance": 0.17456
}

Semantic roles & 50–950 ramp

primary
#B645B3
secondary
#91C692
accent
#D55753
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B645B3

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

Preview Lab → · Contrast checker → · Palette generator →

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