#B845CD#B845CD

#B845CD is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.1% C 0.218 H 321.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B845CD
RGBrgb(184, 69, 205)
HSLhsl(291, 58%, 54%)
HSVhsv(291, 66%, 80%)
CMYKcmyk(10.2%, 66.3%, 0%, 19.6%)
CIE-LABlab(50.52, 64.40, -48.96)
CIE-LCHlch(50.52, 80.90, 322.75°)
OKLaboklab(60.13% 0.1695 -0.1367)
OKLCHoklch(60.13% 0.218 321.1)
XYZxyz(32.9135, 18.8561, 59.6517)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845CD #5ACD45
analogous
#7445CD #B845CD #CD459E
triadic
#B845CD #CDB845 #45CDB8
tetradic
#B845CD #CD7445 #5ACD45 #459ECD
square
#B845CD #CD7445 #5ACD45 #459ECD
split-complementary
#B845CD #9ECD45 #45CD74
monochromatic
#6A2077 #952DA8 #B845CD #CA75DA #DDA5E7

Accessibility & contrast

On white

4.40
#B845CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B845CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B845CD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B845CD#FFFFFF#000000##000000
##B845CD1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A70D1
Deuteranopia (green-blind)
#547CCA
Tritanopia (blue-blind)
#BA5C84
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b845cd;
/* rgb */ color: rgb(184, 69, 205);
/* oklch */ color: oklch(60.1% 0.218 321.1);
Tailwind
colors: {
  custom: {
    50: '#d181dd',
    500: '#b845cd',
    950: '#000000',
  },
}
SCSS
$custom: #b845cd;
$custom-light: #d181dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b845cd",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 290.735,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60132,
    "c": 0.21775,
    "h": 321.1
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#B845CD
secondary
#A3D49A
accent
#E1475F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B845CD

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

Preview Lab → · Contrast checker → · Palette generator →

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