#B845CA#B845CA

#B845CA is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.215 H 322.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B845CA
RGBrgb(184, 69, 202)
HSLhsl(292, 56%, 53%)
HSVhsv(292, 66%, 79%)
CMYKcmyk(8.9%, 65.8%, 0%, 20.8%)
CIE-LABlab(50.35, 63.85, -47.51)
CIE-LCHlch(50.35, 79.58, 323.35°)
OKLaboklab(59.96% 0.1695 -0.1325)
OKLCHoklch(59.96% 0.215 322)
XYZxyz(32.5548, 18.7126, 57.7628)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845CA #57CA45
analogous
#7545CA #B845CA #CA4599
triadic
#B845CA #CAB845 #45CAB8
tetradic
#B845CA #CA7545 #57CA45 #4599CA
square
#B845CA #CA7545 #57CA45 #4599CA
split-complementary
#B845CA #99CA45 #45CA75
monochromatic
#682174 #932FA3 #B845CA #CA75D8 #DCA4E5

Accessibility & contrast

On white

4.43
#B845CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B845CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B845CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B845CA#FFFFFF#000000##000000
##B845CA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#206FCE
Deuteranopia (green-blind)
#567CC7
Tritanopia (blue-blind)
#BA5B82
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b845ca;
/* rgb */ color: rgb(184, 69, 202);
/* oklch */ color: oklch(60.0% 0.215 322.0);
Tailwind
colors: {
  custom: {
    50: '#d181db',
    500: '#b845ca',
    950: '#000000',
  },
}
SCSS
$custom: #b845ca;
$custom-light: #d181db;
$custom-dark: #000000;
JSON
{
  "hex": "#b845ca",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 291.88,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59956,
    "c": 0.21513,
    "h": 322
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#B845CA
secondary
#A0D299
accent
#DF495D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B845CA

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

Preview Lab → · Contrast checker → · Palette generator →

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