#B3199E#B3199E

#B3199E is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.3% C 0.223 H 335.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B3199E
RGBrgb(179, 25, 158)
HSLhsl(308, 75%, 40%)
HSVhsv(308, 86%, 70%)
CMYKcmyk(0%, 86%, 11.7%, 29.8%)
CIE-LABlab(42.38, 69.17, -34.33)
CIE-LCHlch(42.38, 77.22, 333.61°)
OKLaboklab(53.32% 0.2024 -0.0941)
OKLCHoklch(53.32% 0.223 335.1)
XYZxyz(25.1100, 12.7500, 33.4797)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3199E #19B32E
analogous
#7B19B3 #B3199E #B31951
triadic
#B3199E #9EB319 #199EB3
tetradic
#B3199E #B37B19 #19B32E #1951B3
square
#B3199E #B37B19 #19B32E #1951B3
split-complementary
#B3199E #51B319 #19B37B
monochromatic
#480A3F #7D126F #B3199E #E128C8 #E85ED6

Accessibility & contrast

On white

5.92
#B3199E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B3199E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3199E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3199E#FFFFFF#000000##FFFFFF
##B3199E1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1756A1
Deuteranopia (green-blind)
#576C9B
Tritanopia (blue-blind)
#BC2B5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3199e;
/* rgb */ color: rgb(179, 25, 158);
/* oklch */ color: oklch(53.3% 0.223 335.1);
Tailwind
colors: {
  custom: {
    50: '#ce6dbb',
    500: '#b3199e',
    950: '#000000',
  },
}
SCSS
$custom: #b3199e;
$custom-light: #ce6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#b3199e",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 308.182,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.22315,
    "h": 335.1
  },
  "luminance": 0.12748
}

Semantic roles & 50–950 ramp

primary
#B3199E
secondary
#5BCC6B
accent
#F24F36
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140812
muted
#837B81

Preview Lab

Preview with #B3199E

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

Preview Lab → · Contrast checker → · Palette generator →

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