#B645D5#B645D5

#B645D5 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.224 H 318.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B645D5
RGBrgb(182, 69, 213)
HSLhsl(287, 63%, 55%)
HSVhsv(287, 68%, 84%)
CMYKcmyk(14.6%, 67.6%, 0%, 16.5%)
CIE-LABlab(50.70, 65.46, -53.28)
CIE-LCHlch(50.70, 84.40, 320.86°)
OKLaboklab(60.35% 0.1669 -0.1494)
OKLCHoklch(60.35% 0.224 318.2)
XYZxyz(33.4281, 19.0069, 64.8458)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645D5 #64D545
analogous
#6E45D5 #B645D5 #D545AC
triadic
#B645D5 #D5B645 #45D5B6
tetradic
#B645D5 #D56E45 #64D545 #45ACD5
square
#B645D5 #D56E45 #64D545 #45ACD5
split-complementary
#B645D5 #ACD545 #45D56E
monochromatic
#6C1D82 #9629B4 #B645D5 #CA77E0 #DDA9EC

Accessibility & contrast

On white

4.37
#B645D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B645D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B645D5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645D5#FFFFFF#000000##000000
##B645D51.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#4C7CD2
Tritanopia (blue-blind)
#B56088
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b645d5;
/* rgb */ color: rgb(182, 69, 213);
/* oklch */ color: oklch(60.4% 0.224 318.2);
Tailwind
colors: {
  custom: {
    50: '#d081e3',
    500: '#b645d5',
    950: '#000000',
  },
}
SCSS
$custom: #b645d5;
$custom-light: #d081e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b645d5",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 287.083,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6035,
    "c": 0.22397,
    "h": 318.2
  },
  "luminance": 0.19005
}

Semantic roles & 50–950 ramp

primary
#B645D5
secondary
#AAD99D
accent
#E64265
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B645D5

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

Preview Lab → · Contrast checker → · Palette generator →

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