#B645DB#B645DB

#B645DB is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.229 H 316.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B645DB
RGBrgb(182, 69, 219)
HSLhsl(285, 68%, 56%)
HSVhsv(285, 68%, 86%)
CMYKcmyk(16.9%, 68.5%, 0%, 14.1%)
CIE-LABlab(51.06, 66.61, -56.12)
CIE-LCHlch(51.06, 87.10, 319.89°)
OKLaboklab(60.72% 0.1665 -0.1577)
OKLCHoklch(60.72% 0.229 316.6)
XYZxyz(34.2038, 19.3172, 68.9310)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645DB #6ADB45
analogous
#6B45DB #B645DB #DB45B5
triadic
#B645DB #DBB645 #45DBB6
tetradic
#B645DB #DB6B45 #6ADB45 #45B5DB
square
#B645DB #DB6B45 #6ADB45 #45B5DB
split-complementary
#B645DB #B5DB45 #45DB6B
monochromatic
#6F1B8B #9825BE #B645DB #CA78E5 #DEACEF

Accessibility & contrast

On white

4.32
#B645DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B645DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B645DB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645DB#FFFFFF#000000##000000
##B645DB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#467DD8
Tritanopia (blue-blind)
#B4628B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b645db;
/* rgb */ color: rgb(182, 69, 219);
/* oklch */ color: oklch(60.7% 0.229 316.6);
Tailwind
colors: {
  custom: {
    50: '#d082e7',
    500: '#b645db',
    950: '#000000',
  },
}
SCSS
$custom: #b645db;
$custom-light: #d082e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b645db",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 285.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60724,
    "c": 0.22934,
    "h": 316.6
  },
  "luminance": 0.19316
}

Semantic roles & 50–950 ramp

primary
#B645DB
secondary
#AEDD9F
accent
#EA3D68
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B645DB

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

Preview Lab → · Contrast checker → · Palette generator →

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