#B845BD#B845BD

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

Color values

HEX#B845BD
RGBrgb(184, 69, 189)
HSLhsl(298, 48%, 51%)
HSVhsv(298, 63%, 74%)
CMYKcmyk(2.6%, 63.5%, 0%, 25.9%)
CIE-LABlab(49.64, 61.52, -41.12)
CIE-LCHlch(49.64, 73.99, 326.24°)
OKLaboklab(59.22% 0.1692 -0.1139)
OKLCHoklch(59.22% 0.204 326.1)
XYZxyz(31.0800, 18.1227, 49.9952)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845BD #4ABD45
analogous
#7C45BD #B845BD #BD4586
triadic
#B845BD #BDB845 #45BDB8
tetradic
#B845BD #BD7C45 #4ABD45 #4586BD
square
#B845BD #BD7C45 #4ABD45 #4586BD
split-complementary
#B845BD #86BD45 #45BD7C
monochromatic
#612464 #8D3491 #B845BD #C972CD #DA9FDD

Accessibility & contrast

On white

4.54
#B845BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B845BD#FFFFFF#000000##000000
##B845BD1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#326DC1
Deuteranopia (green-blind)
#5E7BBA
Tritanopia (blue-blind)
#BD567B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b845bd;
/* rgb */ color: rgb(184, 69, 189);
/* oklch */ color: oklch(59.2% 0.204 326.1);
Tailwind
colors: {
  custom: {
    50: '#d081d1',
    500: '#b845bd',
    950: '#000000',
  },
}
SCSS
$custom: #b845bd;
$custom-light: #d081d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b845bd",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 297.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59219,
    "c": 0.20398,
    "h": 326.1
  },
  "luminance": 0.18121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B845BD

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

Preview Lab → · Contrast checker → · Palette generator →

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