#B845CE#B845CE

#B845CE is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.219 H 320.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B845CE
RGBrgb(184, 69, 206)
HSLhsl(290, 58%, 54%)
HSVhsv(290, 67%, 81%)
CMYKcmyk(10.7%, 66.5%, 0%, 19.2%)
CIE-LABlab(50.58, 64.58, -49.45)
CIE-LCHlch(50.58, 81.34, 322.56°)
OKLaboklab(60.19% 0.1695 -0.1381)
OKLCHoklch(60.19% 0.219 320.8)
XYZxyz(33.0346, 18.9045, 60.2894)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845CE #5BCE45
analogous
#7445CE #B845CE #CE45A0
triadic
#B845CE #CEB845 #45CEB8
tetradic
#B845CE #CE7445 #5BCE45 #45A0CE
square
#B845CE #CE7445 #5BCE45 #45A0CE
split-complementary
#B845CE #A0CE45 #45CE74
monochromatic
#6A2079 #952DA9 #B845CE #CA75DB #DDA6E8

Accessibility & contrast

On white

4.39
#B845CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B845CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B845CE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B845CE#FFFFFF#000000##000000
##B845CE1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1870D2
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#B95D84
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b845ce;
/* rgb */ color: rgb(184, 69, 206);
/* oklch */ color: oklch(60.2% 0.219 320.8);
Tailwind
colors: {
  custom: {
    50: '#d181dd',
    500: '#b845ce',
    950: '#000000',
  },
}
SCSS
$custom: #b845ce;
$custom-light: #d181dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b845ce",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 290.365,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60192,
    "c": 0.21863,
    "h": 320.8
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

primary
#B845CE
secondary
#A4D59A
accent
#E2465F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B845CE

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

Preview Lab → · Contrast checker → · Palette generator →

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