#B645D7#B645D7

#B645D7 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.5% C 0.226 H 317.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B645D7
RGBrgb(182, 69, 215)
HSLhsl(286, 65%, 56%)
HSVhsv(286, 68%, 84%)
CMYKcmyk(15.3%, 67.9%, 0%, 15.7%)
CIE-LABlab(50.81, 65.84, -54.23)
CIE-LCHlch(50.81, 85.29, 320.52°)
OKLaboklab(60.47% 0.1668 -0.1521)
OKLCHoklch(60.47% 0.226 317.6)
XYZxyz(33.6835, 19.1091, 66.1909)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645D7 #66D745
analogous
#6D45D7 #B645D7 #D745AF
triadic
#B645D7 #D7B645 #45D7B6
tetradic
#B645D7 #D76D45 #66D745 #45AFD7
square
#B645D7 #D76D45 #66D745 #45AFD7
split-complementary
#B645D7 #AFD745 #45D76D
monochromatic
#6D1D85 #9727B7 #B645D7 #CA77E2 #DEAAED

Accessibility & contrast

On white

4.36
#B645D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B645D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B645D7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645D7#FFFFFF#000000##000000
##B645D71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#4A7CD4
Tritanopia (blue-blind)
#B56189
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b645d7;
/* rgb */ color: rgb(182, 69, 215);
/* oklch */ color: oklch(60.5% 0.226 317.6);
Tailwind
colors: {
  custom: {
    50: '#d081e4',
    500: '#b645d7',
    950: '#000000',
  },
}
SCSS
$custom: #b645d7;
$custom-light: #d081e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b645d7",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 286.438,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60474,
    "c": 0.22576,
    "h": 317.6
  },
  "luminance": 0.19108
}

Semantic roles & 50–950 ramp

primary
#B645D7
secondary
#ABDA9E
accent
#E84066
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B645D7

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

Preview Lab → · Contrast checker → · Palette generator →

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