#B645D9#B645D9

#B645D9 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.6% C 0.228 H 317.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B645D9
RGBrgb(182, 69, 217)
HSLhsl(286, 66%, 56%)
HSVhsv(286, 68%, 85%)
CMYKcmyk(16.1%, 68.2%, 0%, 14.9%)
CIE-LABlab(50.93, 66.22, -55.17)
CIE-LCHlch(50.93, 86.19, 320.20°)
OKLaboklab(60.6% 0.1667 -0.1549)
OKLCHoklch(60.6% 0.228 317.1)
XYZxyz(33.9421, 19.2125, 67.5527)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645D9 #68D945
analogous
#6C45D9 #B645D9 #D945B2
triadic
#B645D9 #D9B645 #45D9B6
tetradic
#B645D9 #D96C45 #68D945 #45B2D9
square
#B645D9 #D96C45 #68D945 #45B2D9
split-complementary
#B645D9 #B2D945 #45D96C
monochromatic
#6E1C88 #9826BB #B645D9 #CA78E3 #DEABEE

Accessibility & contrast

On white

4.34
#B645D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B645D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B645D9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645D9#FFFFFF#000000##000000
##B645D91.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#487DD6
Tritanopia (blue-blind)
#B4628A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b645d9;
/* rgb */ color: rgb(182, 69, 217);
/* oklch */ color: oklch(60.6% 0.228 317.1);
Tailwind
colors: {
  custom: {
    50: '#d081e5',
    500: '#b645d9',
    950: '#000000',
  },
}
SCSS
$custom: #b645d9;
$custom-light: #d081e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b645d9",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 285.811,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60599,
    "c": 0.22755,
    "h": 317.1
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#B645D9
secondary
#ADDB9E
accent
#E93F67
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B645D9

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

Preview Lab → · Contrast checker → · Palette generator →

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