#B337B2#B337B2

#B337B2 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.210 H 328.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B337B2
RGBrgb(179, 55, 178)
HSLhsl(300, 53%, 46%)
HSVhsv(300, 69%, 70%)
CMYKcmyk(0%, 69.3%, 0.6%, 29.8%)
CIE-LABlab(46.35, 63.89, -39.94)
CIE-LCHlch(46.35, 75.35, 327.99°)
OKLaboklab(56.51% 0.1786 -0.1105)
OKLCHoklch(56.51% 0.21 328.3)
XYZxyz(27.9921, 15.5324, 43.6346)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337B2 #37B338
analogous
#7637B3 #B337B2 #B33774
triadic
#B337B2 #B2B337 #37B2B3
tetradic
#B337B2 #B37637 #37B338 #3774B3
square
#B337B2 #B37637 #37B338 #3774B3
split-complementary
#B337B2 #74B337 #37B376
monochromatic
#551A55 #842983 #B337B2 #CD5BCC #DB8ADA

Accessibility & contrast

On white

5.11
#B337B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B337B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337B2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337B2#FFFFFF#000000##FFFFFF
##B337B21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B5
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#B94971
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b337b2;
/* rgb */ color: rgb(179, 55, 178);
/* oklch */ color: oklch(56.5% 0.210 328.3);
Tailwind
colors: {
  custom: {
    50: '#cd79c9',
    500: '#b337b2',
    950: '#000000',
  },
}
SCSS
$custom: #b337b2;
$custom-light: #cd79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b337b2",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 300.484,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56505,
    "c": 0.21002,
    "h": 328.3
  },
  "luminance": 0.1553
}

Semantic roles & 50–950 ramp

primary
#B337B2
secondary
#81C581
accent
#DC4D4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B337B2

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

Preview Lab → · Contrast checker → · Palette generator →

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