#B845BF#B845BF

#B845BF is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.206 H 325.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B845BF
RGBrgb(184, 69, 191)
HSLhsl(297, 49%, 51%)
HSVhsv(297, 64%, 75%)
CMYKcmyk(3.7%, 63.9%, 0%, 25.1%)
CIE-LABlab(49.75, 61.87, -42.11)
CIE-LCHlch(49.75, 74.84, 325.76°)
OKLaboklab(59.33% 0.1693 -0.1167)
OKLCHoklch(59.33% 0.206 325.4)
XYZxyz(31.2986, 18.2101, 51.1465)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845BF #4CBF45
analogous
#7B45BF #B845BF #BF4589
triadic
#B845BF #BFB845 #45BFB8
tetradic
#B845BF #BF7B45 #4CBF45 #4589BF
square
#B845BF #BF7B45 #4CBF45 #4589BF
split-complementary
#B845BF #89BF45 #45BF7B
monochromatic
#632366 #8E3394 #B845BF #C973CF #DBA0DE

Accessibility & contrast

On white

4.52
#B845BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B845BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B845BF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B845BF#FFFFFF#000000##000000
##B845BF1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC3
Deuteranopia (green-blind)
#5D7BBC
Tritanopia (blue-blind)
#BC577C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b845bf;
/* rgb */ color: rgb(184, 69, 191);
/* oklch */ color: oklch(59.3% 0.206 325.4);
Tailwind
colors: {
  custom: {
    50: '#d181d3',
    500: '#b845bf',
    950: '#000000',
  },
}
SCSS
$custom: #b845bf;
$custom-light: #d181d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b845bf",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 296.557,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5933,
    "c": 0.20568,
    "h": 325.4
  },
  "luminance": 0.18208
}

Semantic roles & 50–950 ramp

primary
#B845BF
secondary
#98CB95
accent
#D84F57
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B845BF

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

Preview Lab → · Contrast checker → · Palette generator →

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