#B83198#B83198

#B83198 is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.4% C 0.201 H 339.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B83198
RGBrgb(184, 49, 152)
HSLhsl(314, 58%, 46%)
HSVhsv(314, 73%, 72%)
CMYKcmyk(0%, 73.4%, 17.4%, 27.8%)
CIE-LABlab(45.16, 63.16, -26.31)
CIE-LCHlch(45.16, 68.42, 337.39°)
OKLaboklab(55.38% 0.1878 -0.0712)
OKLCHoklch(55.38% 0.201 339.2)
XYZxyz(26.5336, 14.6565, 31.1313)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B83198 #31B851
analogous
#9431B8 #B83198 #B83154
triadic
#B83198 #98B831 #3198B8
tetradic
#B83198 #B89431 #31B851 #3154B8
square
#B83198 #B89431 #31B851 #3154B8
split-complementary
#B83198 #54B831 #31B894
monochromatic
#571748 #882470 #B83198 #D255B4 #DE85C9

Accessibility & contrast

On white

5.34
#B83198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B83198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B83198
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B83198#FFFFFF#000000##FFFFFF
##B831981.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#657295
Tritanopia (blue-blind)
#C33661
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b83198;
/* rgb */ color: rgb(184, 49, 152);
/* oklch */ color: oklch(55.4% 0.201 339.2);
Tailwind
colors: {
  custom: {
    50: '#d176b6',
    500: '#b83198',
    950: '#000000',
  },
}
SCSS
$custom: #b83198;
$custom-light: #d176b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b83198",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 314.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55382,
    "c": 0.2008,
    "h": 339.2
  },
  "luminance": 0.14654
}

Semantic roles & 50–950 ramp

primary
#B83198
secondary
#7DC88F
accent
#E16B47
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B83198

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

Preview Lab → · Contrast checker → · Palette generator →

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