#B845BC#B845BC

#B845BC is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.2% C 0.203 H 326.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B845BC
RGBrgb(184, 69, 188)
HSLhsl(298, 47%, 50%)
HSVhsv(298, 63%, 74%)
CMYKcmyk(2.1%, 63.3%, 0%, 26.3%)
CIE-LABlab(49.59, 61.34, -40.62)
CIE-LCHlch(49.59, 73.57, 326.49°)
OKLaboklab(59.17% 0.1692 -0.1124)
OKLCHoklch(59.17% 0.203 326.4)
XYZxyz(30.9718, 18.0794, 49.4255)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845BC #49BC45
analogous
#7C45BC #B845BC #BC4585
triadic
#B845BC #BCB845 #45BCB8
tetradic
#B845BC #BC7C45 #49BC45 #4585BC
square
#B845BC #BC7C45 #49BC45 #4585BC
split-complementary
#B845BC #85BC45 #45BC7C
monochromatic
#612463 #8D3490 #B845BC #C972CC #DA9FDC

Accessibility & contrast

On white

4.55
#B845BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B845BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B845BC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B845BC#FFFFFF#000000##000000
##B845BC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#336DC0
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#BD567A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b845bc;
/* rgb */ color: rgb(184, 69, 188);
/* oklch */ color: oklch(59.2% 0.203 326.4);
Tailwind
colors: {
  custom: {
    50: '#d081d0',
    500: '#b845bc',
    950: '#000000',
  },
}
SCSS
$custom: #b845bc;
$custom-light: #d081d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b845bc",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 297.983,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59165,
    "c": 0.20314,
    "h": 326.4
  },
  "luminance": 0.18077
}

Semantic roles & 50–950 ramp

primary
#B845BC
secondary
#96C994
accent
#D75156
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B845BC

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

Preview Lab → · Contrast checker → · Palette generator →

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