#B845D6#B845D6

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

Color values

HEX#B845D6
RGBrgb(184, 69, 214)
HSLhsl(288, 64%, 55%)
HSVhsv(288, 68%, 84%)
CMYKcmyk(14%, 67.8%, 0%, 16.1%)
CIE-LABlab(51.04, 66.08, -53.28)
CIE-LCHlch(51.04, 84.88, 321.12°)
OKLaboklab(60.68% 0.1692 -0.1493)
OKLCHoklch(60.68% 0.226 318.6)
XYZxyz(34.0312, 19.3032, 65.5386)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845D6 #63D645
analogous
#6F45D6 #B845D6 #D645AC
triadic
#B845D6 #D6B845 #45D6B8
tetradic
#B845D6 #D66F45 #63D645 #45ACD6
square
#B845D6 #D66F45 #63D645 #45ACD6
split-complementary
#B845D6 #ACD645 #45D66F
monochromatic
#6E1D84 #9828B6 #B845D6 #CB77E1 #DEA9EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B845D6#FFFFFF#000000##000000
##B845D61.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)
#0072DA
Deuteranopia (green-blind)
#4D7DD3
Tritanopia (blue-blind)
#B86088
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b845d6;
/* rgb */ color: rgb(184, 69, 214);
/* oklch */ color: oklch(60.7% 0.226 318.6);
Tailwind
colors: {
  custom: {
    50: '#d182e3',
    500: '#b845d6',
    950: '#000000',
  },
}
SCSS
$custom: #b845d6;
$custom-light: #d182e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b845d6",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 287.586,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60675,
    "c": 0.22567,
    "h": 318.6
  },
  "luminance": 0.19302
}

Semantic roles & 50–950 ramp

primary
#B845D6
secondary
#AADA9D
accent
#E74163
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B15
muted
#837C84

Preview Lab

Preview with #B845D6

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

Preview Lab → · Contrast checker → · Palette generator →

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