#B845CB#B845CB

#B845CB is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.216 H 321.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B845CB
RGBrgb(184, 69, 203)
HSLhsl(291, 56%, 53%)
HSVhsv(291, 66%, 80%)
CMYKcmyk(9.4%, 66%, 0%, 20.4%)
CIE-LABlab(50.41, 64.03, -48.00)
CIE-LCHlch(50.41, 80.02, 323.15°)
OKLaboklab(60.01% 0.1695 -0.1339)
OKLCHoklch(60.01% 0.216 321.7)
XYZxyz(32.6736, 18.7601, 58.3884)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845CB #58CB45
analogous
#7545CB #B845CB #CB459B
triadic
#B845CB #CBB845 #45CBB8
tetradic
#B845CB #CB7545 #58CB45 #459BCB
square
#B845CB #CB7545 #58CB45 #459BCB
split-complementary
#B845CB #9BCB45 #45CB75
monochromatic
#692175 #942EA5 #B845CB #CA75D8 #DDA5E6

Accessibility & contrast

On white

4.42
#B845CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B845CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B845CB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B845CB#FFFFFF#000000##000000
##B845CB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E70CF
Deuteranopia (green-blind)
#557CC8
Tritanopia (blue-blind)
#BA5C82
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b845cb;
/* rgb */ color: rgb(184, 69, 203);
/* oklch */ color: oklch(60.0% 0.216 321.7);
Tailwind
colors: {
  custom: {
    50: '#d181db',
    500: '#b845cb',
    950: '#000000',
  },
}
SCSS
$custom: #b845cb;
$custom-light: #d181db;
$custom-dark: #000000;
JSON
{
  "hex": "#b845cb",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 291.493,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60015,
    "c": 0.216,
    "h": 321.7
  },
  "luminance": 0.18758
}

Semantic roles & 50–950 ramp

primary
#B845CB
secondary
#A1D399
accent
#E0485E
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B845CB

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

Preview Lab → · Contrast checker → · Palette generator →

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