#B838C1#B838C1

#B838C1 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.2% C 0.223 H 325.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B838C1
RGBrgb(184, 56, 193)
HSLhsl(296, 55%, 49%)
HSVhsv(296, 71%, 76%)
CMYKcmyk(4.7%, 71%, 0%, 24.3%)
CIE-LABlab(48.10, 67.18, -45.89)
CIE-LCHlch(48.10, 81.36, 325.66°)
OKLaboklab(58.18% 0.1831 -0.1277)
OKLCHoklch(58.18% 0.223 325.1)
XYZxyz(30.8063, 16.8709, 52.0755)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B838C1 #41C138
analogous
#7438C1 #B838C1 #C13886
triadic
#B838C1 #C1B838 #38C1B8
tetradic
#B838C1 #C17438 #41C138 #3886C1
square
#B838C1 #C17438 #41C138 #3886C1
split-complementary
#B838C1 #86C138 #38C174
monochromatic
#5E1C62 #8B2A92 #B838C1 #CB64D2 #DB94E0

Accessibility & contrast

On white

4.80
#B838C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B838C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B838C1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B838C1#FFFFFF#000000##FFFFFF
##B838C11.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1068C5
Deuteranopia (green-blind)
#5477BE
Tritanopia (blue-blind)
#BC4F79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b838c1;
/* rgb */ color: rgb(184, 56, 193);
/* oklch */ color: oklch(58.2% 0.223 325.1);
Tailwind
colors: {
  custom: {
    50: '#d17bd4',
    500: '#b838c1',
    950: '#000000',
  },
}
SCSS
$custom: #b838c1;
$custom-light: #d17bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#b838c1",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 296.058,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.22321,
    "h": 325.1
  },
  "luminance": 0.16869
}

Semantic roles & 50–950 ramp

primary
#B838C1
secondary
#8ECB8A
accent
#DE4953
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B838C1

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

Preview Lab → · Contrast checker → · Palette generator →

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