#B841C7#B841C7

#B841C7 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.4% C 0.218 H 323.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B841C7
RGBrgb(184, 65, 199)
HSLhsl(293, 54%, 52%)
HSVhsv(293, 67%, 78%)
CMYKcmyk(7.5%, 67.3%, 0%, 22%)
CIE-LABlab(49.61, 64.90, -46.95)
CIE-LCHlch(49.61, 80.10, 324.11°)
OKLaboklab(59.37% 0.1739 -0.1308)
OKLCHoklch(59.37% 0.218 323)
XYZxyz(31.9653, 18.0963, 55.8310)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B841C7 #50C741
analogous
#7541C7 #B841C7 #C74193
triadic
#B841C7 #C7B841 #41C7B8
tetradic
#B841C7 #C77541 #50C741 #4193C7
square
#B841C7 #C77541 #50C741 #4193C7
split-complementary
#B841C7 #93C741 #41C775
monochromatic
#65206D #902E9D #B841C7 #CA70D5 #DBA0E3

Accessibility & contrast

On white

4.55
#B841C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B841C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B841C7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B841C7#FFFFFF#000000##000000
##B841C71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6DCB
Deuteranopia (green-blind)
#557BC4
Tritanopia (blue-blind)
#BB577F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b841c7;
/* rgb */ color: rgb(184, 65, 199);
/* oklch */ color: oklch(59.4% 0.218 323.0);
Tailwind
colors: {
  custom: {
    50: '#d17fd8',
    500: '#b841c7',
    950: '#000000',
  },
}
SCSS
$custom: #b841c7;
$custom-light: #d17fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b841c7",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 293.284,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59372,
    "c": 0.21758,
    "h": 323
  },
  "luminance": 0.18094
}

Semantic roles & 50–950 ramp

primary
#B841C7
secondary
#9BCF95
accent
#DE4A5B
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B841C7

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

Preview Lab → · Contrast checker → · Palette generator →

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