#B841CA#B841CA

#B841CA is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.5% C 0.220 H 322.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B841CA
RGBrgb(184, 65, 202)
HSLhsl(292, 56%, 52%)
HSVhsv(292, 68%, 79%)
CMYKcmyk(8.9%, 67.8%, 0%, 20.8%)
CIE-LABlab(49.78, 65.44, -48.41)
CIE-LCHlch(49.78, 81.40, 323.50°)
OKLaboklab(59.55% 0.1738 -0.1351)
OKLCHoklch(59.55% 0.22 322.2)
XYZxyz(32.3170, 18.2370, 57.6835)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B841CA #53CA41
analogous
#7441CA #B841CA #CA4197
triadic
#B841CA #CAB841 #41CAB8
tetradic
#B841CA #CA7441 #53CA41 #4197CA
square
#B841CA #CA7441 #53CA41 #4197CA
split-complementary
#B841CA #97CA41 #41CA74
monochromatic
#662071 #922DA1 #B841CA #CA71D7 #DCA1E5

Accessibility & contrast

On white

4.52
#B841CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#B841CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B841CA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B841CA#FFFFFF#000000##000000
##B841CA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#156ECE
Deuteranopia (green-blind)
#537BC7
Tritanopia (blue-blind)
#BA5981
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b841ca;
/* rgb */ color: rgb(184, 65, 202);
/* oklch */ color: oklch(59.5% 0.220 322.2);
Tailwind
colors: {
  custom: {
    50: '#d17fdb',
    500: '#b841ca',
    950: '#000000',
  },
}
SCSS
$custom: #b841ca;
$custom-light: #d17fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b841ca",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 292.117,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59548,
    "c": 0.22013,
    "h": 322.2
  },
  "luminance": 0.18235
}

Semantic roles & 50–950 ramp

primary
#B841CA
secondary
#9DD196
accent
#E0485C
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B841CA

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

Preview Lab → · Contrast checker → · Palette generator →

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