#B845BA#B845BA

#B845BA is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.201 H 327.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B845BA
RGBrgb(184, 69, 186)
HSLhsl(299, 46%, 50%)
HSVhsv(299, 63%, 73%)
CMYKcmyk(1.1%, 62.9%, 0%, 27.1%)
CIE-LABlab(49.49, 61.00, -39.62)
CIE-LCHlch(49.49, 72.73, 327.00°)
OKLaboklab(59.06% 0.1691 -0.1095)
OKLCHoklch(59.06% 0.201 327.1)
XYZxyz(30.7577, 17.9937, 48.2980)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845BA #47BA45
analogous
#7D45BA #B845BA #BA4582
triadic
#B845BA #BAB845 #45BAB8
tetradic
#B845BA #BA7D45 #47BA45 #4582BA
square
#B845BA #BA7D45 #47BA45 #4582BA
split-complementary
#B845BA #82BA45 #45BA7D
monochromatic
#602461 #8C348D #B845BA #C972CB #DA9EDB

Accessibility & contrast

On white

4.57
#B845BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B845BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B845BA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B845BA#FFFFFF#000000##000000
##B845BA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#356CBD
Deuteranopia (green-blind)
#5F7BB7
Tritanopia (blue-blind)
#BD5579
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b845ba;
/* rgb */ color: rgb(184, 69, 186);
/* oklch */ color: oklch(59.1% 0.201 327.1);
Tailwind
colors: {
  custom: {
    50: '#d081cf',
    500: '#b845ba',
    950: '#000000',
  },
}
SCSS
$custom: #b845ba;
$custom-light: #d081cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b845ba",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 298.974,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.59056,
    "c": 0.20147,
    "h": 327.1
  },
  "luminance": 0.17992
}

Semantic roles & 50–950 ramp

primary
#B845BA
secondary
#94C893
accent
#D65254
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B845BA

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

Preview Lab → · Contrast checker → · Palette generator →

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