#B337DA#B337DA

#B337DA is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.0% C 0.243 H 316.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B337DA
RGBrgb(179, 55, 218)
HSLhsl(286, 69%, 54%)
HSVhsv(286, 75%, 85%)
CMYKcmyk(17.9%, 74.8%, 0%, 14.5%)
CIE-LABlab(48.73, 71.00, -59.30)
CIE-LCHlch(48.73, 92.51, 320.13°)
OKLaboklab(58.96% 0.1764 -0.167)
OKLCHoklch(58.96% 0.243 316.6)
XYZxyz(32.6096, 17.3794, 67.9529)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337DA #5EDA37
analogous
#6137DA #B337DA #DA37AF
triadic
#B337DA #DAB337 #37DAB3
tetradic
#B337DA #DA6137 #5EDA37 #37AFDA
square
#B337DA #DA6137 #5EDA37 #37AFDA
split-complementary
#B337DA #AFDA37 #37DA61
monochromatic
#66187F #9021B3 #B337DA #C76BE4 #DA9EED

Accessibility & contrast

On white

4.69
#B337DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B337DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337DA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337DA#FFFFFF#000000##FFFFFF
##B337DA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#3777D6
Tritanopia (blue-blind)
#B15B87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b337da;
/* rgb */ color: rgb(179, 55, 218);
/* oklch */ color: oklch(59.0% 0.243 316.6);
Tailwind
colors: {
  custom: {
    50: '#ce7be6',
    500: '#b337da',
    950: '#000000',
  },
}
SCSS
$custom: #b337da;
$custom-light: #ce7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#b337da",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 285.644,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.2429,
    "h": 316.6
  },
  "luminance": 0.17378
}

Semantic roles & 50–950 ramp

primary
#B337DA
secondary
#A4D993
accent
#EC3C66
background
#FDF7FE
surface
#FAEEFC
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B337DA

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

Preview Lab → · Contrast checker → · Palette generator →

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