#B337AF#B337AF

#B337AF is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.208 H 329.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B337AF
RGBrgb(179, 55, 175)
HSLhsl(302, 53%, 46%)
HSVhsv(302, 69%, 70%)
CMYKcmyk(0%, 69.3%, 2.2%, 29.8%)
CIE-LABlab(46.20, 63.39, -38.43)
CIE-LCHlch(46.20, 74.13, 328.77°)
OKLaboklab(56.34% 0.1785 -0.1061)
OKLCHoklch(56.34% 0.208 329.3)
XYZxyz(27.6942, 15.4133, 42.0655)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B337AF #37B33B
analogous
#7937B3 #B337AF #B33771
triadic
#B337AF #AFB337 #37AFB3
tetradic
#B337AF #B37937 #37B33B #3771B3
square
#B337AF #B37937 #37B33B #3771B3
split-complementary
#B337AF #71B337 #37B379
monochromatic
#551A53 #842981 #B337AF #CD5BC9 #DB8AD8

Accessibility & contrast

On white

5.14
#B337AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#B337AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B337AF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B337AF#FFFFFF#000000##FFFFFF
##B337AF1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#B9476F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b337af;
/* rgb */ color: rgb(179, 55, 175);
/* oklch */ color: oklch(56.3% 0.208 329.3);
Tailwind
colors: {
  custom: {
    50: '#cd79c7',
    500: '#b337af',
    950: '#000000',
  },
}
SCSS
$custom: #b337af;
$custom-light: #cd79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b337af",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 301.935,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56338,
    "c": 0.20767,
    "h": 329.3
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#B337AF
secondary
#81C583
accent
#DC504B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B337AF

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

Preview Lab → · Contrast checker → · Palette generator →

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