#B645E6#B645E6

#B645E6 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.4% C 0.239 H 313.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B645E6
RGBrgb(182, 69, 230)
HSLhsl(282, 76%, 59%)
HSVhsv(282, 70%, 90%)
CMYKcmyk(20.9%, 70%, 0%, 9.8%)
CIE-LABlab(51.74, 68.77, -61.24)
CIE-LCHlch(51.74, 92.08, 318.31°)
OKLaboklab(61.43% 0.1656 -0.1727)
OKLCHoklch(61.43% 0.239 313.8)
XYZxyz(35.7000, 19.9156, 76.8111)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B645E6 #75E645
analogous
#6545E6 #B645E6 #E645C5
triadic
#B645E6 #E6B645 #45E6B6
tetradic
#B645E6 #E66545 #75E645 #45C5E6
square
#B645E6 #E66545 #75E645 #45C5E6
split-complementary
#B645E6 #C5E645 #45E665
monochromatic
#74159C #9C1CD2 #B645E6 #CB7BED #E0B1F5

Accessibility & contrast

On white

4.21
#B645E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B645E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B645E6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B645E6#FFFFFF#000000##000000
##B645E61.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#3A7EE2
Tritanopia (blue-blind)
#B16791
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b645e6;
/* rgb */ color: rgb(182, 69, 230);
/* oklch */ color: oklch(61.4% 0.239 313.8);
Tailwind
colors: {
  custom: {
    50: '#d082ef',
    500: '#b645e6',
    950: '#000000',
  },
}
SCSS
$custom: #b645e6;
$custom-light: #d082ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b645e6",
  "rgb": {
    "r": 182,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 282.112,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61433,
    "c": 0.23928,
    "h": 313.8
  },
  "luminance": 0.19914
}

Semantic roles & 50–950 ramp

primary
#B645E6
secondary
#B7E3A4
accent
#F3356E
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B645E6

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

Preview Lab → · Contrast checker → · Palette generator →

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