#B845CF#B845CF

#B845CF is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.220 H 320.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B845CF
RGBrgb(184, 69, 207)
HSLhsl(290, 59%, 54%)
HSVhsv(290, 67%, 81%)
CMYKcmyk(11.1%, 66.7%, 0%, 18.8%)
CIE-LABlab(50.63, 64.77, -49.93)
CIE-LCHlch(50.63, 81.78, 322.37°)
OKLaboklab(60.25% 0.1695 -0.1395)
OKLCHoklch(60.25% 0.22 320.5)
XYZxyz(33.1564, 18.9532, 60.9313)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845CF #5CCF45
analogous
#7345CF #B845CF #CF45A1
triadic
#B845CF #CFB845 #45CFB8
tetradic
#B845CF #CF7345 #5CCF45 #45A1CF
square
#B845CF #CF7345 #5CCF45 #45A1CF
split-complementary
#B845CF #A1CF45 #45CF73
monochromatic
#6B207A #962CAB #B845CF #CB76DC #DDA6E8

Accessibility & contrast

On white

4.38
#B845CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B845CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B845CF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B845CF#FFFFFF#000000##000000
##B845CF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1671D3
Deuteranopia (green-blind)
#527DCC
Tritanopia (blue-blind)
#B95D85
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b845cf;
/* rgb */ color: rgb(184, 69, 207);
/* oklch */ color: oklch(60.3% 0.220 320.5);
Tailwind
colors: {
  custom: {
    50: '#d181de',
    500: '#b845cf',
    950: '#000000',
  },
}
SCSS
$custom: #b845cf;
$custom-light: #d181de;
$custom-dark: #000000;
JSON
{
  "hex": "#b845cf",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 290,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60251,
    "c": 0.2195,
    "h": 320.5
  },
  "luminance": 0.18952
}

Semantic roles & 50–950 ramp

primary
#B845CF
secondary
#A4D59B
accent
#E24660
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B845CF

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

Preview Lab → · Contrast checker → · Palette generator →

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