#B845C4#B845C4

#B845C4 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.6% C 0.210 H 323.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B845C4
RGBrgb(184, 69, 196)
HSLhsl(294, 52%, 52%)
HSVhsv(294, 65%, 77%)
CMYKcmyk(6.1%, 64.8%, 0%, 23.1%)
CIE-LABlab(50.02, 62.76, -44.58)
CIE-LCHlch(50.02, 76.98, 324.61°)
OKLaboklab(59.61% 0.1695 -0.1239)
OKLCHoklch(59.61% 0.21 323.8)
XYZxyz(31.8582, 18.4339, 54.0939)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845C4 #51C445
analogous
#7945C4 #B845C4 #C44590
triadic
#B845C4 #C4B845 #45C4B8
tetradic
#B845C4 #C47945 #51C445 #4590C4
square
#B845C4 #C47945 #51C445 #4590C4
split-complementary
#B845C4 #90C445 #45C479
monochromatic
#65226C #91319B #B845C4 #CA73D3 #DBA2E1

Accessibility & contrast

On white

4.48
#B845C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B845C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B845C4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B845C4#FFFFFF#000000##000000
##B845C41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#296EC8
Deuteranopia (green-blind)
#5A7CC1
Tritanopia (blue-blind)
#BB597F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b845c4;
/* rgb */ color: rgb(184, 69, 196);
/* oklch */ color: oklch(59.6% 0.210 323.8);
Tailwind
colors: {
  custom: {
    50: '#d181d6',
    500: '#b845c4',
    950: '#000000',
  },
}
SCSS
$custom: #b845c4;
$custom-light: #d181d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b845c4",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 294.331,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59611,
    "c": 0.20994,
    "h": 323.8
  },
  "luminance": 0.18432
}

Semantic roles & 50–950 ramp

primary
#B845C4
secondary
#9CCE97
accent
#DB4D5A
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B845C4

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

Preview Lab → · Contrast checker → · Palette generator →

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