#B845C8#B845C8

#B845C8 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.213 H 322.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B845C8
RGBrgb(184, 69, 200)
HSLhsl(293, 54%, 53%)
HSVhsv(293, 66%, 78%)
CMYKcmyk(8%, 65.5%, 0%, 21.6%)
CIE-LABlab(50.24, 63.48, -46.54)
CIE-LCHlch(50.24, 78.71, 323.76°)
OKLaboklab(59.84% 0.1695 -0.1296)
OKLCHoklch(59.84% 0.213 322.6)
XYZxyz(32.3196, 18.6185, 56.5237)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845C8 #55C845
analogous
#7745C8 #B845C8 #C84596
triadic
#B845C8 #C8B845 #45C8B8
tetradic
#B845C8 #C87745 #55C845 #4596C8
square
#B845C8 #C87745 #55C845 #4596C8
split-complementary
#B845C8 #96C845 #45C877
monochromatic
#672171 #932FA0 #B845C8 #CA74D6 #DCA3E4

Accessibility & contrast

On white

4.45
#B845C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B845C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B845C8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B845C8#FFFFFF#000000##000000
##B845C81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#246FCC
Deuteranopia (green-blind)
#577CC5
Tritanopia (blue-blind)
#BB5A81
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b845c8;
/* rgb */ color: rgb(184, 69, 200);
/* oklch */ color: oklch(59.8% 0.213 322.6);
Tailwind
colors: {
  custom: {
    50: '#d181d9',
    500: '#b845c8',
    950: '#000000',
  },
}
SCSS
$custom: #b845c8;
$custom-light: #d181d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b845c8",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 292.672,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.2134,
    "h": 322.6
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#B845C8
secondary
#9FD198
accent
#DE4A5C
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #B845C8

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

Preview Lab → · Contrast checker → · Palette generator →

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