#B845BB#B845BB

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

Color values

HEX#B845BB
RGBrgb(184, 69, 187)
HSLhsl(298, 46%, 50%)
HSVhsv(298, 63%, 73%)
CMYKcmyk(1.6%, 63.1%, 0%, 26.7%)
CIE-LABlab(49.54, 61.17, -40.12)
CIE-LCHlch(49.54, 73.15, 326.74°)
OKLaboklab(59.11% 0.1691 -0.111)
OKLCHoklch(59.11% 0.202 326.7)
XYZxyz(30.8644, 18.0364, 48.8598)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845BB #48BB45
analogous
#7D45BB #B845BB #BB4583
triadic
#B845BB #BBB845 #45BBB8
tetradic
#B845BB #BB7D45 #48BB45 #4583BB
square
#B845BB #BB7D45 #48BB45 #4583BB
split-complementary
#B845BB #83BB45 #45BB7D
monochromatic
#602462 #8C348F #B845BB #C972CB #DA9FDC

Accessibility & contrast

On white

4.56
#B845BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B845BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B845BB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B845BB#FFFFFF#000000##000000
##B845BB1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#346CBF
Deuteranopia (green-blind)
#5F7BB8
Tritanopia (blue-blind)
#BD557A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b845bb;
/* rgb */ color: rgb(184, 69, 187);
/* oklch */ color: oklch(59.1% 0.202 326.7);
Tailwind
colors: {
  custom: {
    50: '#d081d0',
    500: '#b845bb',
    950: '#000000',
  },
}
SCSS
$custom: #b845bb;
$custom-light: #d081d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b845bb",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 298.475,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5911,
    "c": 0.2023,
    "h": 326.7
  },
  "luminance": 0.18034
}

Semantic roles & 50–950 ramp

primary
#B845BB
secondary
#95C894
accent
#D65255
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B845BB

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

Preview Lab → · Contrast checker → · Palette generator →

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